Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001935/0.001935, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001447/0.001447, allocations: 220 kB / 22.25 MB, free: 5.102 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.14/3.14, allocations: 0.49 GB / 0.7951 GB, free: 35.36 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_12_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.002019/0.002019, allocations: 65.97 kB / 1.154 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3288, allocations: 176.1 MB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01418/0.343, allocations: 10.7 MB / 1.336 GB, free: 6.77 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.009877/0.3529, allocations: 5.653 MB / 1.342 GB, free: 1.098 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008431/0.3537, allocations: 75.31 kB / 1.342 GB, free: 1.023 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004539/0.3583, allocations: 1.728 MB / 1.344 GB, free: 15.29 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00312/0.3614, allocations: 1.182 MB / 1.345 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002128/0.3635, allocations: 0.817 MB / 1.346 GB, free: 13.29 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00257/0.3661, allocations: 2.112 MB / 1.348 GB, free: 11.16 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/0.3675, allocations: 1.041 MB / 1.349 GB, free: 10.09 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/0.3687, allocations: 0.8757 MB / 1.349 GB, free: 9.215 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.37, allocations: 0.965 MB / 1.35 GB, free: 8.246 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001766/0.3702, allocations: 116 kB / 1.351 GB, free: 8.133 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001974/0.3722, allocations: 1.068 MB / 1.352 GB, free: 7.062 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005696/0.3728, allocations: 0.5528 MB / 1.352 GB, free: 6.508 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0007512/0.3735, allocations: 0.6453 MB / 1.353 GB, free: 5.859 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003266/0.3768, allocations: 2.451 MB / 1.355 GB, free: 3.398 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.3768, allocations: 4 kB / 1.355 GB, free: 3.395 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3768, allocations: 0 / 1.355 GB, free: 3.395 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.794e-05/0.3768, allocations: 0 / 1.355 GB, free: 3.395 MB / 1.045 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.003017/0.3798, allocations: 1.848 MB / 1.357 GB, free: 1.504 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.3799, allocations: 8.031 kB / 1.357 GB, free: 1.496 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002544/0.3801, allocations: 215.4 kB / 1.357 GB, free: 1.273 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00444/0.3846, allocations: 0.6709 MB / 1.358 GB, free: 0.6016 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001902/0.3865, allocations: 0.9215 MB / 1.359 GB, free: 15.65 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.225e-05/0.3865, allocations: 98.89 kB / 1.359 GB, free: 15.55 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002164/0.3868, allocations: 124.3 kB / 1.359 GB, free: 15.43 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003383/0.3901, allocations: 2.408 MB / 1.361 GB, free: 12.75 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.344e-05/0.3902, allocations: 15.89 kB / 1.361 GB, free: 12.73 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/0.3903, allocations: 59.97 kB / 1.361 GB, free: 12.67 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002257/0.3906, allocations: 166.3 kB / 1.361 GB, free: 12.51 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003028/0.3936, allocations: 1.855 MB / 1.363 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01232/0.4059, allocations: 9.409 MB / 1.372 GB, free: 0.9414 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004487/0.4104, allocations: 1.869 MB / 1.374 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008658/0.4113, allocations: 0.562 MB / 1.375 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000144/0.4114, allocations: 28.92 kB / 1.375 GB, free: 14.47 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.4114, allocations: 47.5 kB / 1.375 GB, free: 14.41 MB / 1.076 GB Notification: Performance of pre-optimization done (n=103): time 3.116e-06/0.4115, allocations: 0 / 1.375 GB, free: 14.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=110): time 0.006117/0.4176, allocations: 3.122 MB / 1.378 GB, free: 11.28 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.4176, allocations: 68.34 kB / 1.378 GB, free: 11.2 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.4188, allocations: 0.9514 MB / 1.379 GB, free: 10.23 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.113e-05/0.4189, allocations: 41.7 kB / 1.379 GB, free: 10.18 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005803/0.4194, allocations: 0.7494 MB / 1.38 GB, free: 9.426 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003455/0.4198, allocations: 408.5 kB / 1.38 GB, free: 9.023 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004291/0.4202, allocations: 283.4 kB / 1.38 GB, free: 8.742 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4203, allocations: 309.1 kB / 1.381 GB, free: 8.438 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009407/0.4213, allocations: 0.609 MB / 1.381 GB, free: 7.828 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/0.4226, allocations: 1.102 MB / 1.382 GB, free: 6.512 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002489/0.4251, allocations: 1.832 MB / 1.384 GB, free: 4.461 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.869e-06/0.4251, allocations: 4 kB / 1.384 GB, free: 4.457 MB / 1.076 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003707/0.4288, allocations: 2.108 MB / 1.386 GB, free: 2.316 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.4289, allocations: 12 kB / 1.386 GB, free: 2.305 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/0.4289, allocations: 16 kB / 1.386 GB, free: 2.289 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008588/0.4298, allocations: 267.1 kB / 1.387 GB, free: 2.004 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/0.431, allocations: 371.3 kB / 1.387 GB, free: 1.641 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00947/0.4405, allocations: 10.75 MB / 1.397 GB, free: 5.973 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.4418, allocations: 127.8 kB / 1.397 GB, free: 5.848 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/0.4419, allocations: 68 kB / 1.398 GB, free: 5.781 MB / 1.092 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.0006573/0.4425, allocations: 402.1 kB / 1.398 GB, free: 5.383 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/0.4428, allocations: 143.2 kB / 1.398 GB, free: 5.242 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002953/0.4457, allocations: 1.677 MB / 1.4 GB, free: 3.531 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.4457, allocations: 12 kB / 1.4 GB, free: 3.52 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.4457, allocations: 3.938 kB / 1.4 GB, free: 3.516 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.4457, allocations: 7.969 kB / 1.4 GB, free: 3.508 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005441/0.4512, allocations: 3.115 MB / 1.403 GB, free: 260 kB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.4512, allocations: 8 kB / 1.403 GB, free: 252 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008842/0.4521, allocations: 219.6 kB / 1.403 GB, free: 32 kB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007753/0.4529, allocations: 247.3 kB / 1.403 GB, free: 15.77 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.053e-05/0.4529, allocations: 31.94 kB / 1.403 GB, free: 15.73 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009369/0.4623, allocations: 10.72 MB / 1.414 GB, free: 4.098 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/0.4623, allocations: 7.984 kB / 1.414 GB, free: 4.09 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002996/0.4653, allocations: 1.796 MB / 1.415 GB, free: 2.184 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006847/0.466, allocations: 235.2 kB / 1.416 GB, free: 1.953 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/0.4662, allocations: 35.94 kB / 1.416 GB, free: 1.918 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007274/0.4669, allocations: 91.88 kB / 1.416 GB, free: 1.828 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002063/0.4671, allocations: 104.6 kB / 1.416 GB, free: 1.727 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.627e-05/0.4672, allocations: 32 kB / 1.416 GB, free: 1.695 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0008205/0.468, allocations: 0.6216 MB / 1.417 GB, free: 1.066 MB / 1.107 GB Notification: Performance of sort global known variables: time 9e-08/0.468, allocations: 0 / 1.417 GB, free: 1.066 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001384/0.4694, allocations: 392 kB / 1.417 GB, free: 0.6836 MB / 1.107 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.003171/0.4726, allocations: 2.391 MB / 1.419 GB, free: 14.17 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.003815/0.4764, allocations: 2.41 MB / 1.422 GB, free: 11.66 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.4764, allocations: 4 kB / 1.422 GB, free: 11.66 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002251/0.4786, allocations: 1.575 MB / 1.423 GB, free: 9.984 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001815/0.4805, allocations: 360.4 kB / 1.424 GB, free: 9.641 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01711/0.4976, allocations: 11.55 MB / 1.435 GB, free: 13.34 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000856/0.4984, allocations: 0.7335 MB / 1.436 GB, free: 12.57 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0009851/0.4994, allocations: 355.3 kB / 1.436 GB, free: 12.21 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007232/0.5001, allocations: 0.5344 MB / 1.436 GB, free: 11.68 MB / 1.139 GB Notification: Performance of SimCode: time 9.11e-07/0.5001, allocations: 0 / 1.436 GB, free: 11.68 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09473/0.5949, allocations: 31.03 MB / 1.467 GB, free: 13.2 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.82, allocations: 1.25 kB / 1.467 GB, free: 13.2 MB / 1.17 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.544816665002145]