Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005216/0.005216, allocations: 96.34 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 202.8 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.579/2.579, allocations: 469.4 MB / 0.7422 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.84 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3059, allocations: 159.1 MB / 1.22 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03378/0.3397, allocations: 26.67 MB / 1.246 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6456/0.9854, allocations: 8.05 MB / 1.254 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002506/0.9879, allocations: 118.8 kB / 1.254 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006263/0.9942, allocations: 2.762 MB / 1.256 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00459/0.9988, allocations: 1.675 MB / 1.258 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00452/1.003, allocations: 1.671 MB / 1.26 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007423/1.011, allocations: 6.154 MB / 1.266 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01083/1.022, allocations: 7.325 MB / 1.273 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005074/1.027, allocations: 2.622 MB / 1.275 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005371/1.032, allocations: 2.831 MB / 1.278 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001435/1.034, allocations: 0.5092 MB / 1.279 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003536/1.037, allocations: 1.283 MB / 1.28 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002961/1.04, allocations: 2.047 MB / 1.282 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005759/1.046, allocations: 2.382 MB / 1.284 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01532/1.061, allocations: 8.076 MB / 1.292 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.152e-05/1.061, allocations: 4 kB / 1.292 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.018e-06/1.061, allocations: 0 / 1.292 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000367/1.062, allocations: 1.609 kB / 1.292 GB, free: 1.387 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.0135/1.075, allocations: 4.338 MB / 1.296 GB, free: 14.9 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/1.075, allocations: 9.344 kB / 1.296 GB, free: 14.9 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001126/1.076, allocations: 0.5366 MB / 1.297 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00494/1.081, allocations: 0.8145 MB / 1.298 GB, free: 14.37 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006698/1.088, allocations: 2.596 MB / 1.3 GB, free: 13.09 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002351/1.088, allocations: 273.9 kB / 1.301 GB, free: 12.97 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001061/1.089, allocations: 381.9 kB / 1.301 GB, free: 12.85 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01297/1.102, allocations: 5.983 MB / 1.307 GB, free: 10.27 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001179/1.103, allocations: 20.53 kB / 1.307 GB, free: 10.26 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00049/1.103, allocations: 158.8 kB / 1.307 GB, free: 10.15 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007372/1.104, allocations: 282.1 kB / 1.307 GB, free: 10.12 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008558/1.112, allocations: 4.521 MB / 1.312 GB, free: 8.547 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03307/1.145, allocations: 27.51 MB / 1.338 GB, free: 15.44 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/1.147, allocations: 1.116 MB / 1.34 GB, free: 14.85 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/1.149, allocations: 1.022 MB / 1.341 GB, free: 14.34 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.736e-05/1.149, allocations: 23.28 kB / 1.341 GB, free: 14.32 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/1.149, allocations: 44.94 kB / 1.341 GB, free: 14.28 MB / 1.045 GB Notification: Performance of pre-optimization done (n=110): time 3.066e-06/1.149, allocations: 0 / 1.341 GB, free: 14.28 MB / 1.045 GB Notification: Performance of matching and sorting (n=131): time 0.02297/1.172, allocations: 9.723 MB / 1.35 GB, free: 8.543 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/1.172, allocations: 65.25 kB / 1.35 GB, free: 8.48 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/1.174, allocations: 1.496 MB / 1.352 GB, free: 7.68 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001309/1.174, allocations: 51.11 kB / 1.352 GB, free: 7.629 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001123/1.175, allocations: 1.715 MB / 1.353 GB, free: 6.121 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004158/1.176, allocations: 492 kB / 1.354 GB, free: 5.707 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005048/1.176, allocations: 336.4 kB / 1.354 GB, free: 5.512 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 9.352e-05/1.176, allocations: 309 kB / 1.354 GB, free: 5.207 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/1.178, allocations: 0.9159 MB / 1.355 GB, free: 4.727 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001531/1.179, allocations: 1.464 MB / 1.357 GB, free: 3.531 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003052/1.182, allocations: 2.539 MB / 1.359 GB, free: 1.742 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/1.182, allocations: 5.562 kB / 1.359 GB, free: 1.742 MB / 1.045 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005612/1.188, allocations: 3.301 MB / 1.363 GB, free: 15.24 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/1.188, allocations: 12 kB / 1.363 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/1.188, allocations: 20 kB / 1.363 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002138/1.19, allocations: 0.7357 MB / 1.363 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/1.192, allocations: 387.4 kB / 1.364 GB, free: 14.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01501/1.207, allocations: 17.06 MB / 1.38 GB, free: 11.76 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002024/1.209, allocations: 99.91 kB / 1.38 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003351/1.209, allocations: 76 kB / 1.38 GB, free: 11.59 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00276/1.212, allocations: 1.31 MB / 1.382 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000604/1.212, allocations: 206.7 kB / 1.382 GB, free: 10.07 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005174/1.218, allocations: 2.792 MB / 1.385 GB, free: 7.234 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/1.218, allocations: 15.98 kB / 1.385 GB, free: 7.219 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.512e-05/1.218, allocations: 8 kB / 1.385 GB, free: 7.211 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/1.218, allocations: 7.969 kB / 1.385 GB, free: 7.203 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01244/1.23, allocations: 6.219 MB / 1.391 GB, free: 0.8516 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/1.23, allocations: 12.64 kB / 1.391 GB, free: 0.8398 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/1.231, allocations: 231.6 kB / 1.391 GB, free: 0.6133 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001912/1.233, allocations: 0.6632 MB / 1.392 GB, free: 15.92 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-05/1.233, allocations: 32 kB / 1.392 GB, free: 15.89 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01428/1.248, allocations: 16.79 MB / 1.408 GB, free: 13.85 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.244e-05/1.248, allocations: 7.938 kB / 1.408 GB, free: 13.84 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006353/1.254, allocations: 4.013 MB / 1.412 GB, free: 9.715 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/1.255, allocations: 459.7 kB / 1.412 GB, free: 9.246 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005594/1.256, allocations: 39.92 kB / 1.412 GB, free: 9.207 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/1.257, allocations: 83.89 kB / 1.413 GB, free: 9.125 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002844/1.257, allocations: 116.7 kB / 1.413 GB, free: 9.008 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.25e-05/1.257, allocations: 36 kB / 1.413 GB, free: 8.973 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001275/1.259, allocations: 1.002 MB / 1.414 GB, free: 7.98 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.4e-07/1.259, allocations: 4 kB / 1.414 GB, free: 7.977 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002494/1.261, allocations: 0.6836 MB / 1.414 GB, free: 7.293 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005884/1.267, allocations: 4.622 MB / 1.419 GB, free: 2.551 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.005119/1.272, allocations: 3.525 MB / 1.422 GB, free: 14.92 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/1.272, allocations: 4 kB / 1.422 GB, free: 14.91 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.003437/1.276, allocations: 2.292 MB / 1.425 GB, free: 12.5 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003638/1.279, allocations: 0.6778 MB / 1.425 GB, free: 11.85 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03199/1.311, allocations: 21.27 MB / 1.446 GB, free: 5.719 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002636/1.314, allocations: 2.656 MB / 1.449 GB, free: 3.031 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001492/1.315, allocations: 489.4 kB / 1.449 GB, free: 2.551 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001369/1.317, allocations: 1.28 MB / 1.45 GB, free: 1.27 MB / 1.139 GB Notification: Performance of SimCode: time 1.012e-06/1.317, allocations: 4 kB / 1.45 GB, free: 1.266 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1021/1.419, allocations: 57.22 MB / 1.506 GB, free: 8.805 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/14, allocations: 3.984 kB / 1.506 GB, free: 8.801 MB / 1.201 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches