Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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_R_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",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.001237/0.001237, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001278/0.001278, allocations: 191.9 kB / 16.14 MB, free: 6.711 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.243/1.243, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.477/2.477, allocations: 461.9 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 65.34 kB / 0.8985 GB, free: 36.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2544, allocations: 157.4 MB / 1.052 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03674/0.2912, allocations: 37.62 MB / 1.089 GB, free: 2.449 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01684/0.3081, allocations: 10.95 MB / 1.1 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003255/0.3114, allocations: 147.2 kB / 1.1 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01001/0.3215, allocations: 4.064 MB / 1.104 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005753/0.3272, allocations: 2.084 MB / 1.106 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005542/0.3328, allocations: 1.977 MB / 1.108 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01218/0.345, allocations: 13.19 MB / 1.121 GB, free: 1.969 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01787/0.3629, allocations: 12.44 MB / 1.133 GB, free: 5.418 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005817/0.3687, allocations: 3.406 MB / 1.136 GB, free: 2 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006789/0.3756, allocations: 4.592 MB / 1.141 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002184/0.3778, allocations: 0.5586 MB / 1.141 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004462/0.3823, allocations: 1.556 MB / 1.143 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.004451/0.3867, allocations: 2.888 MB / 1.145 GB, free: 8.383 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.006473/0.3932, allocations: 3.364 MB / 1.149 GB, free: 5.004 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0125/0.4057, allocations: 12.09 MB / 1.161 GB, free: 8.879 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4058, allocations: 0 / 1.161 GB, free: 8.879 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.293e-06/0.4058, allocations: 0 / 1.161 GB, free: 8.879 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003521/0.4061, allocations: 0 / 1.161 GB, free: 8.879 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01582/0.422, allocations: 6.311 MB / 1.167 GB, free: 2.496 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.422, allocations: 11.97 kB / 1.167 GB, free: 2.484 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002455/0.4245, allocations: 0.8255 MB / 1.168 GB, free: 1.648 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006114/0.4306, allocations: 1.063 MB / 1.169 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006986/0.4376, allocations: 3.427 MB / 1.172 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003824/0.438, allocations: 423.7 kB / 1.172 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001765/0.4398, allocations: 0.5433 MB / 1.173 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0201/0.4599, allocations: 9.377 MB / 1.182 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002339/0.4602, allocations: 19.88 kB / 1.182 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001708/0.4619, allocations: 248 kB / 1.182 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006582/0.4626, allocations: 418.9 kB / 1.183 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01467/0.4773, allocations: 7.127 MB / 1.19 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04739/0.5247, allocations: 41.33 MB / 1.23 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004642/0.5294, allocations: 3.09 MB / 1.233 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002914/0.5323, allocations: 2.141 MB / 1.235 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001509/0.5325, allocations: 22 kB / 1.235 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.104e-05/0.5326, allocations: 64.55 kB / 1.235 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=209): time 3.697e-06/0.5326, allocations: 0 / 1.235 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of matching and sorting (n=212): time 0.4367/0.9693, allocations: 10.54 MB / 1.245 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.9694, allocations: 79.72 kB / 1.246 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002246/0.9716, allocations: 1.999 MB / 1.247 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002341/0.9718, allocations: 62.8 kB / 1.248 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009105/0.9728, allocations: 2.412 MB / 1.25 GB, free: 172 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004797/0.9733, allocations: 0.7285 MB / 1.251 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006098/0.9739, allocations: 479.3 kB / 1.251 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.384e-05/0.9739, allocations: 304.4 kB / 1.251 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/0.9756, allocations: 1.368 MB / 1.253 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001937/0.9775, allocations: 2.102 MB / 1.255 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003837/0.9814, allocations: 3.769 MB / 1.258 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.401e-05/0.9814, allocations: 6.656 kB / 1.258 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008244/0.9897, allocations: 5.064 MB / 1.263 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/0.9897, allocations: 16.44 kB / 1.263 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.79e-05/0.9898, allocations: 23.31 kB / 1.263 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004297/0.9941, allocations: 1.58 MB / 1.265 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/0.9958, allocations: 452 kB / 1.265 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01907/1.015, allocations: 17.08 MB / 1.282 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002638/1.018, allocations: 142.8 kB / 1.282 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002455/1.018, allocations: 111.8 kB / 1.282 GB, free: 157.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003584/1.021, allocations: 1.95 MB / 1.284 GB, free: 157 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005327/1.022, allocations: 284.9 kB / 1.284 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006075/1.028, allocations: 4.455 MB / 1.289 GB, free: 155 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/1.028, allocations: 20.22 kB / 1.289 GB, free: 155 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.122e-05/1.028, allocations: 18.12 kB / 1.289 GB, free: 155 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/1.028, allocations: 11.3 kB / 1.289 GB, free: 155 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01186/1.04, allocations: 9.656 MB / 1.298 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/1.04, allocations: 5.281 kB / 1.298 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009073/1.041, allocations: 232.6 kB / 1.299 GB, free: 150.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002875/1.044, allocations: 1.441 MB / 1.3 GB, free: 149.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/1.044, allocations: 37.47 kB / 1.3 GB, free: 149.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01547/1.059, allocations: 17.07 MB / 1.317 GB, free: 136.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/1.059, allocations: 4 kB / 1.317 GB, free: 136.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005536/1.065, allocations: 4.537 MB / 1.321 GB, free: 131.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/1.066, allocations: 0.6265 MB / 1.322 GB, free: 131.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003198/1.066, allocations: 41.56 kB / 1.322 GB, free: 131.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/1.067, allocations: 127.8 kB / 1.322 GB, free: 131 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004264/1.068, allocations: 173.6 kB / 1.322 GB, free: 130.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/1.068, allocations: 56 kB / 1.322 GB, free: 130.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00131/1.069, allocations: 1.323 MB / 1.323 GB, free: 129.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.069, allocations: 4.562 kB / 1.323 GB, free: 129.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00257/1.072, allocations: 1.145 MB / 1.324 GB, free: 128.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005313/1.077, allocations: 5.153 MB / 1.33 GB, free: 123.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005739/1.083, allocations: 4.691 MB / 1.334 GB, free: 118.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/1.083, allocations: 0 / 1.334 GB, free: 118.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003482/1.087, allocations: 2.916 MB / 1.337 GB, free: 115.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003264/1.09, allocations: 0.828 MB / 1.338 GB, free: 114.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04222/1.132, allocations: 35.93 MB / 1.373 GB, free: 76.16 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002988/1.135, allocations: 3.694 MB / 1.376 GB, free: 72.43 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00183/1.137, allocations: 0.5518 MB / 1.377 GB, free: 71.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001578/1.139, allocations: 1.944 MB / 1.379 GB, free: 69.95 MB / 0.9981 GB Notification: Performance of SimCode: time 1.413e-06/1.139, allocations: 0 / 1.379 GB, free: 69.95 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09326/1.232, allocations: 83.71 MB / 1.461 GB, free: 3.176 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002117/1.232, allocations: 252.8 kB / 1.461 GB, free: 2.922 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.2/4.432, allocations: 0 / 1.461 GB, free: 2.922 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches