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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002079/0.002079, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.435/1.435, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.124/3.124, allocations: 0.505 GB / 0.8101 GB, free: 21.95 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 69.8 kB / 1.177 GB, free: 16.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3196, allocations: 180.2 MB / 1.353 GB, free: 8.387 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01445/0.334, allocations: 11.62 MB / 1.364 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00948/0.3435, allocations: 6.027 MB / 1.37 GB, free: 6.688 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007514/0.3443, allocations: 79.25 kB / 1.37 GB, free: 6.609 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004276/0.3485, allocations: 1.792 MB / 1.372 GB, free: 4.812 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00263/0.3512, allocations: 1.182 MB / 1.373 GB, free: 3.625 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.3532, allocations: 0.8269 MB / 1.374 GB, free: 2.801 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002515/0.3557, allocations: 2.12 MB / 1.376 GB, free: 0.6719 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/0.357, allocations: 1.033 MB / 1.377 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.3581, allocations: 0.8719 MB / 1.378 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/0.3594, allocations: 0.9649 MB / 1.379 GB, free: 13.77 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001701/0.3596, allocations: 112 kB / 1.379 GB, free: 13.66 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002131/0.3617, allocations: 1.212 MB / 1.38 GB, free: 12.44 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005327/0.3622, allocations: 0.5374 MB / 1.381 GB, free: 11.9 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000816/0.363, allocations: 0.7888 MB / 1.381 GB, free: 11.11 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003443/0.3665, allocations: 2.44 MB / 1.384 GB, free: 8.66 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.3665, allocations: 4 kB / 1.384 GB, free: 8.656 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3665, allocations: 3.938 kB / 1.384 GB, free: 8.652 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.914e-05/0.3665, allocations: 4 kB / 1.384 GB, free: 8.648 MB / 1.076 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.003088/0.3696, allocations: 1.84 MB / 1.386 GB, free: 6.766 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.3696, allocations: 8.031 kB / 1.386 GB, free: 6.758 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002356/0.3699, allocations: 215.4 kB / 1.386 GB, free: 6.535 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004199/0.3741, allocations: 0.6748 MB / 1.386 GB, free: 5.859 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/0.3759, allocations: 0.9135 MB / 1.387 GB, free: 4.922 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.086e-05/0.3759, allocations: 102.9 kB / 1.387 GB, free: 4.82 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/0.3761, allocations: 124.4 kB / 1.388 GB, free: 4.699 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003006/0.3791, allocations: 2.203 MB / 1.39 GB, free: 2.27 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.569e-05/0.3792, allocations: 23.77 kB / 1.39 GB, free: 2.246 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/0.3793, allocations: 67.95 kB / 1.39 GB, free: 2.18 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002063/0.3795, allocations: 162.3 kB / 1.39 GB, free: 2.02 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002907/0.3824, allocations: 1.867 MB / 1.392 GB, free: 148 kB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01233/0.3948, allocations: 11.73 MB / 1.403 GB, free: 3.613 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004349/0.3991, allocations: 1.886 MB / 1.405 GB, free: 1.723 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008402/0.3999, allocations: 0.5542 MB / 1.406 GB, free: 1.164 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/0.4001, allocations: 24.97 kB / 1.406 GB, free: 1.141 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.649e-05/0.4001, allocations: 47.5 kB / 1.406 GB, free: 1.086 MB / 1.092 GB Notification: Performance of pre-optimization done (n=103): time 3.336e-06/0.4001, allocations: 0 / 1.406 GB, free: 1.086 MB / 1.092 GB Notification: Performance of matching and sorting (n=110): time 0.006021/0.4062, allocations: 3.126 MB / 1.409 GB, free: 13.95 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.4062, allocations: 64.41 kB / 1.409 GB, free: 13.87 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/0.4075, allocations: 0.9205 MB / 1.41 GB, free: 12.93 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.726e-05/0.4076, allocations: 45.7 kB / 1.41 GB, free: 12.88 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005834/0.4082, allocations: 0.7494 MB / 1.41 GB, free: 12.12 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003472/0.4085, allocations: 408.5 kB / 1.411 GB, free: 11.72 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004152/0.4089, allocations: 291.4 kB / 1.411 GB, free: 11.43 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.409, allocations: 301.1 kB / 1.411 GB, free: 11.14 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009783/0.41, allocations: 0.6167 MB / 1.412 GB, free: 10.52 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/0.4114, allocations: 1.109 MB / 1.413 GB, free: 9.191 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002453/0.4138, allocations: 1.832 MB / 1.415 GB, free: 7.141 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.396e-05/0.4139, allocations: 4 kB / 1.415 GB, free: 7.137 MB / 1.107 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003558/0.4174, allocations: 2.1 MB / 1.417 GB, free: 5.004 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.4174, allocations: 12 kB / 1.417 GB, free: 4.992 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-05/0.4175, allocations: 16 kB / 1.417 GB, free: 4.977 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008234/0.4183, allocations: 263.2 kB / 1.417 GB, free: 4.695 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.4195, allocations: 371.4 kB / 1.418 GB, free: 4.332 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009233/0.4288, allocations: 10.77 MB / 1.428 GB, free: 8.641 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.4299, allocations: 127.8 kB / 1.428 GB, free: 8.516 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/0.4301, allocations: 71.98 kB / 1.428 GB, free: 8.445 MB / 1.123 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.0006927/0.4307, allocations: 409.2 kB / 1.429 GB, free: 8.035 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002539/0.431, allocations: 139.2 kB / 1.429 GB, free: 7.898 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002992/0.434, allocations: 1.673 MB / 1.43 GB, free: 6.195 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.434, allocations: 12 kB / 1.43 GB, free: 6.184 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.434, allocations: 4 kB / 1.43 GB, free: 6.18 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.434, allocations: 3.984 kB / 1.43 GB, free: 6.176 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005451/0.4395, allocations: 3.264 MB / 1.434 GB, free: 2.77 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/0.4395, allocations: 4 kB / 1.434 GB, free: 2.766 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008624/0.4403, allocations: 219.6 kB / 1.434 GB, free: 2.551 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000723/0.4411, allocations: 242.7 kB / 1.434 GB, free: 2.289 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.988e-05/0.4412, allocations: 31.94 kB / 1.434 GB, free: 2.258 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009213/0.4504, allocations: 10.75 MB / 1.445 GB, free: 6.586 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.4504, allocations: 11.94 kB / 1.445 GB, free: 6.574 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003071/0.4534, allocations: 1.8 MB / 1.446 GB, free: 4.668 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000704/0.4541, allocations: 235 kB / 1.447 GB, free: 4.438 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002567/0.4544, allocations: 28 kB / 1.447 GB, free: 4.41 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007787/0.4552, allocations: 91.86 kB / 1.447 GB, free: 4.32 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002085/0.4554, allocations: 108.6 kB / 1.447 GB, free: 4.215 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-05/0.4555, allocations: 32 kB / 1.447 GB, free: 4.184 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009018/0.4564, allocations: 0.6215 MB / 1.447 GB, free: 3.555 MB / 1.139 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4564, allocations: 0 / 1.447 GB, free: 3.555 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.00151/0.4579, allocations: 396 kB / 1.448 GB, free: 3.168 MB / 1.139 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.003237/0.4611, allocations: 2.383 MB / 1.45 GB, free: 0.6641 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003794/0.4649, allocations: 2.399 MB / 1.452 GB, free: 14.16 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.4649, allocations: 0 / 1.452 GB, free: 14.16 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.002134/0.467, allocations: 1.594 MB / 1.454 GB, free: 12.46 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/0.4688, allocations: 364.3 kB / 1.454 GB, free: 12.11 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01773/0.4865, allocations: 11.54 MB / 1.466 GB, free: 15.82 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001305/0.4878, allocations: 1.331 MB / 1.467 GB, free: 14.46 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.00102/0.4889, allocations: 359.3 kB / 1.467 GB, free: 14.11 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007917/0.4896, allocations: 0.5344 MB / 1.468 GB, free: 13.57 MB / 1.17 GB Notification: Performance of SimCode: time 1.242e-06/0.4896, allocations: 0 / 1.468 GB, free: 13.57 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08847/0.5781, allocations: 29.68 MB / 1.497 GB, free: 268 kB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/13.96, allocations: 15.53 kB / 1.497 GB, free: 256 kB / 1.186 GB " [Timeout remaining time 286] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.587165341014042]