Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",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.008162/0.008162, allocations: 103.7 kB / 15.73 MB, free: 5.996 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.00183/0.00183, allocations: 187.5 kB / 16.67 MB, free: 5.934 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.606/2.606, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.001151, allocations: 64.12 kB / 1.054 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3341, allocations: 157.4 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01255/0.3467, allocations: 11.1 MB / 1.218 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008482/0.3552, allocations: 5.789 MB / 1.224 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008911/0.3561, allocations: 55.62 kB / 1.224 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003876/0.3601, allocations: 1.718 MB / 1.225 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002611/0.3627, allocations: 1.155 MB / 1.227 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00185/0.3646, allocations: 0.8079 MB / 1.227 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002249/0.3668, allocations: 2.134 MB / 1.229 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001403/0.3683, allocations: 1.303 MB / 1.231 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.3693, allocations: 0.8523 MB / 1.232 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009563/0.3703, allocations: 0.9104 MB / 1.232 GB, free: 252 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001426/0.3704, allocations: 120 kB / 1.233 GB, free: 132 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002057/0.3725, allocations: 1.173 MB / 1.234 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005405/0.3731, allocations: 0.5259 MB / 1.234 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007248/0.3738, allocations: 0.7849 MB / 1.235 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003777/0.3776, allocations: 2.43 MB / 1.237 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.3776, allocations: 0 / 1.237 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3776, allocations: 0 / 1.237 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.372e-05/0.3776, allocations: 0 / 1.237 GB, free: 11.2 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003177/0.3808, allocations: 1.864 MB / 1.239 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.3809, allocations: 12.62 kB / 1.239 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002487/0.3811, allocations: 211.4 kB / 1.239 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004384/0.3855, allocations: 0.6698 MB / 1.24 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/0.3871, allocations: 1.012 MB / 1.241 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.3872, allocations: 94.89 kB / 1.241 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/0.3874, allocations: 124.3 kB / 1.241 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002724/0.3902, allocations: 2.206 MB / 1.243 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.761e-05/0.3902, allocations: 15.88 kB / 1.243 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.3903, allocations: 59.97 kB / 1.244 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001746/0.3905, allocations: 162.3 kB / 1.244 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002496/0.393, allocations: 1.867 MB / 1.245 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5534/0.9464, allocations: 12.43 MB / 1.258 GB, free: 28.11 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003649/0.9501, allocations: 1.96 MB / 1.26 GB, free: 28.08 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007107/0.9508, allocations: 0.6129 MB / 1.26 GB, free: 28.07 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001378/0.951, allocations: 105 kB / 1.26 GB, free: 27.97 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.951, allocations: 42.56 kB / 1.26 GB, free: 27.93 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=103): time 2.494e-06/0.951, allocations: 2.844 kB / 1.26 GB, free: 27.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=110): time 0.005202/0.9562, allocations: 3.706 MB / 1.264 GB, free: 26.84 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.9563, allocations: 63.91 kB / 1.264 GB, free: 26.78 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.9575, allocations: 0.927 MB / 1.265 GB, free: 26.62 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.086e-05/0.9576, allocations: 40.8 kB / 1.265 GB, free: 26.59 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004147/0.958, allocations: 0.7282 MB / 1.266 GB, free: 26.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002644/0.9583, allocations: 390.6 kB / 1.266 GB, free: 25.96 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004259/0.9587, allocations: 286.2 kB / 1.266 GB, free: 25.93 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.685e-05/0.9587, allocations: 301.8 kB / 1.267 GB, free: 25.63 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/0.9598, allocations: 0.6139 MB / 1.267 GB, free: 25.62 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/0.961, allocations: 1.103 MB / 1.268 GB, free: 25.04 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002088/0.9631, allocations: 1.834 MB / 1.27 GB, free: 24.39 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/0.9631, allocations: 4.75 kB / 1.27 GB, free: 24.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003607/0.9667, allocations: 2.104 MB / 1.272 GB, free: 24.09 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/0.9668, allocations: 11.22 kB / 1.272 GB, free: 24.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.364e-05/0.9668, allocations: 16.88 kB / 1.272 GB, free: 24.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008486/0.9676, allocations: 261.2 kB / 1.272 GB, free: 24.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/0.9691, allocations: 373.8 kB / 1.273 GB, free: 24 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006508/0.9756, allocations: 11.59 MB / 1.284 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.9769, allocations: 123.3 kB / 1.284 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.9771, allocations: 80.02 kB / 1.284 GB, free: 13.12 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006061/0.9777, allocations: 400.8 kB / 1.285 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.9779, allocations: 131.3 kB / 1.285 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002594/0.9805, allocations: 1.678 MB / 1.286 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.9805, allocations: 11.03 kB / 1.286 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.9805, allocations: 2.562 kB / 1.286 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.9805, allocations: 6.703 kB / 1.286 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00474/0.9853, allocations: 3.293 MB / 1.29 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.9853, allocations: 4.562 kB / 1.29 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008248/0.9861, allocations: 223.5 kB / 1.29 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006733/0.9868, allocations: 247.2 kB / 1.29 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-05/0.9869, allocations: 28.33 kB / 1.29 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006149/0.993, allocations: 11.56 MB / 1.301 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.365e-06/0.9931, allocations: 10.41 kB / 1.301 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002767/0.9958, allocations: 1.795 MB / 1.303 GB, free: 14.35 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005556/0.9964, allocations: 308.7 kB / 1.303 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/0.9966, allocations: 32.78 kB / 1.303 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006509/0.9972, allocations: 88.48 kB / 1.304 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/0.9974, allocations: 96.94 kB / 1.304 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-05/0.9975, allocations: 38.81 kB / 1.304 GB, free: 14.08 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008295/0.9984, allocations: 0.6217 MB / 1.304 GB, free: 13.82 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9984, allocations: 0 / 1.304 GB, free: 13.82 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001517/0.9999, allocations: 397.5 kB / 1.305 GB, free: 13.78 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002866/1.003, allocations: 2.383 MB / 1.307 GB, free: 12.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003594/1.006, allocations: 2.503 MB / 1.309 GB, free: 10.88 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/1.006, allocations: 0.9375 kB / 1.309 GB, free: 10.88 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002101/1.008, allocations: 1.628 MB / 1.311 GB, free: 9.766 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/1.01, allocations: 351.7 kB / 1.311 GB, free: 9.645 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0174/1.028, allocations: 11.48 MB / 1.323 GB, free: 3.293 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/1.029, allocations: 1.327 MB / 1.324 GB, free: 2.52 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001019/1.03, allocations: 352.8 kB / 1.324 GB, free: 2.469 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006486/1.03, allocations: 0.5425 MB / 1.325 GB, free: 2.051 MB / 1.014 GB Notification: Performance of SimCode: time 5.91e-07/1.03, allocations: 0 / 1.325 GB, free: 2.051 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07228/1.103, allocations: 28.75 MB / 1.353 GB, free: 7.566 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.79, allocations: 15.44 kB / 1.353 GB, free: 7.559 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches