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.001563/0.001563, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001928/0.001928, allocations: 214.7 kB / 22.25 MB, free: 5.242 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.801 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.271/3.271, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] 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.002774/0.002774, allocations: 62.5 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3649, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01511/0.38, allocations: 10.7 MB / 1.374 GB, free: 3.336 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01156/0.3915, allocations: 5.653 MB / 1.379 GB, free: 13.66 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/0.3929, allocations: 67.38 kB / 1.379 GB, free: 13.6 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.005076/0.398, allocations: 1.73 MB / 1.381 GB, free: 11.86 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003679/0.4017, allocations: 1.178 MB / 1.382 GB, free: 10.68 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002402/0.4041, allocations: 0.8123 MB / 1.383 GB, free: 9.871 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003058/0.4071, allocations: 2.12 MB / 1.385 GB, free: 7.742 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001607/0.4087, allocations: 1.026 MB / 1.386 GB, free: 6.691 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001495/0.4102, allocations: 0.8835 MB / 1.387 GB, free: 5.805 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/0.4118, allocations: 0.8986 MB / 1.388 GB, free: 4.902 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003057/0.4121, allocations: 119.9 kB / 1.388 GB, free: 4.785 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002186/0.4143, allocations: 1.052 MB / 1.389 GB, free: 3.73 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006759/0.415, allocations: 0.5529 MB / 1.39 GB, free: 3.176 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0009763/0.416, allocations: 0.6491 MB / 1.39 GB, free: 2.523 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003248/0.4192, allocations: 2.451 MB / 1.393 GB, free: 64 kB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4192, allocations: 0 / 1.393 GB, free: 64 kB / 1.076 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4192, allocations: 0 / 1.393 GB, free: 64 kB / 1.076 GB Notification: Performance of Transformations before backend: time 2.101e-05/0.4192, allocations: 3.938 kB / 1.393 GB, free: 60 kB / 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.003028/0.4223, allocations: 1.839 MB / 1.394 GB, free: 14.18 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.4223, allocations: 12.03 kB / 1.394 GB, free: 14.16 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002626/0.4226, allocations: 219.4 kB / 1.395 GB, free: 13.94 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004428/0.427, allocations: 0.6708 MB / 1.395 GB, free: 13.27 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002006/0.429, allocations: 0.9252 MB / 1.396 GB, free: 12.31 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.662e-05/0.4291, allocations: 94.89 kB / 1.396 GB, free: 12.22 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002231/0.4293, allocations: 128.3 kB / 1.396 GB, free: 12.09 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003356/0.4327, allocations: 2.408 MB / 1.399 GB, free: 9.41 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.343e-05/0.4327, allocations: 19.88 kB / 1.399 GB, free: 9.391 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001428/0.4329, allocations: 59.97 kB / 1.399 GB, free: 9.332 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002235/0.4331, allocations: 162.3 kB / 1.399 GB, free: 9.172 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003026/0.4361, allocations: 1.859 MB / 1.401 GB, free: 7.305 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01158/0.4477, allocations: 9.409 MB / 1.41 GB, free: 13.6 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004399/0.4521, allocations: 1.87 MB / 1.412 GB, free: 11.72 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008713/0.453, allocations: 0.5503 MB / 1.412 GB, free: 11.17 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001262/0.4531, allocations: 36.98 kB / 1.412 GB, free: 11.13 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.4531, allocations: 43.5 kB / 1.412 GB, free: 11.08 MB / 1.107 GB Notification: Performance of pre-optimization done (n=103): time 2.975e-06/0.4531, allocations: 0 / 1.412 GB, free: 11.08 MB / 1.107 GB Notification: Performance of matching and sorting (n=110): time 0.006004/0.4591, allocations: 3.126 MB / 1.415 GB, free: 7.945 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.4592, allocations: 64.41 kB / 1.416 GB, free: 7.871 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.4603, allocations: 0.9514 MB / 1.416 GB, free: 6.902 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.678e-05/0.4604, allocations: 45.7 kB / 1.416 GB, free: 6.852 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005867/0.461, allocations: 0.7494 MB / 1.417 GB, free: 6.094 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003485/0.4614, allocations: 396.6 kB / 1.418 GB, free: 5.703 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000426/0.4618, allocations: 295.4 kB / 1.418 GB, free: 5.41 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.4619, allocations: 301.1 kB / 1.418 GB, free: 5.113 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000993/0.4629, allocations: 0.6129 MB / 1.419 GB, free: 4.5 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/0.4643, allocations: 1.109 MB / 1.42 GB, free: 3.176 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002545/0.4669, allocations: 1.832 MB / 1.422 GB, free: 1.125 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.4669, allocations: 4 kB / 1.422 GB, free: 1.121 MB / 1.107 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003576/0.4704, allocations: 2.104 MB / 1.424 GB, free: 14.98 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.4705, allocations: 19.92 kB / 1.424 GB, free: 14.96 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/0.4705, allocations: 16 kB / 1.424 GB, free: 14.95 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000841/0.4713, allocations: 255.1 kB / 1.424 GB, free: 14.68 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.4727, allocations: 371.4 kB / 1.424 GB, free: 14.31 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009462/0.4821, allocations: 10.73 MB / 1.435 GB, free: 2.66 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.4834, allocations: 135.8 kB / 1.435 GB, free: 2.527 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001563/0.4835, allocations: 68 kB / 1.435 GB, free: 2.461 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.0007045/0.4843, allocations: 405.1 kB / 1.435 GB, free: 2.055 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003162/0.4846, allocations: 139.1 kB / 1.436 GB, free: 1.918 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003255/0.4878, allocations: 1.677 MB / 1.437 GB, free: 212 kB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.4878, allocations: 15.94 kB / 1.437 GB, free: 196 kB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/0.4879, allocations: 3.984 kB / 1.437 GB, free: 192 kB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.4879, allocations: 3.984 kB / 1.437 GB, free: 188 kB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006324/0.4942, allocations: 3.119 MB / 1.44 GB, free: 12.93 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.4942, allocations: 4 kB / 1.44 GB, free: 12.92 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000888/0.4951, allocations: 219.6 kB / 1.44 GB, free: 12.71 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007741/0.4959, allocations: 247.3 kB / 1.441 GB, free: 12.44 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.505e-05/0.4959, allocations: 27.94 kB / 1.441 GB, free: 12.41 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009653/0.5056, allocations: 10.72 MB / 1.451 GB, free: 0.7695 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.285e-05/0.5056, allocations: 7.938 kB / 1.451 GB, free: 0.7617 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003026/0.5087, allocations: 1.796 MB / 1.453 GB, free: 14.85 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000755/0.5094, allocations: 231 kB / 1.453 GB, free: 14.62 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002285/0.5097, allocations: 40 kB / 1.453 GB, free: 14.59 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008048/0.5105, allocations: 91.88 kB / 1.453 GB, free: 14.5 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001986/0.5107, allocations: 100.7 kB / 1.453 GB, free: 14.4 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.731e-05/0.5107, allocations: 32 kB / 1.453 GB, free: 14.37 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.000881/0.5116, allocations: 0.6216 MB / 1.454 GB, free: 13.74 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.5116, allocations: 0 / 1.454 GB, free: 13.74 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001449/0.5131, allocations: 396 kB / 1.454 GB, free: 13.35 MB / 1.154 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.003325/0.5164, allocations: 2.383 MB / 1.457 GB, free: 10.85 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.003975/0.5204, allocations: 2.411 MB / 1.459 GB, free: 8.34 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.5204, allocations: 0 / 1.459 GB, free: 8.34 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.002304/0.5227, allocations: 1.578 MB / 1.461 GB, free: 6.66 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001914/0.5246, allocations: 361.3 kB / 1.461 GB, free: 6.316 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01793/0.5425, allocations: 11.54 MB / 1.472 GB, free: 10.04 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/0.5435, allocations: 0.7413 MB / 1.473 GB, free: 9.258 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001052/0.5446, allocations: 355.3 kB / 1.473 GB, free: 8.906 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007757/0.5454, allocations: 0.5383 MB / 1.474 GB, free: 8.367 MB / 1.17 GB Notification: Performance of SimCode: time 1.042e-06/0.5454, allocations: 4 kB / 1.474 GB, free: 8.363 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08915/0.6345, allocations: 30.53 MB / 1.504 GB, free: 10.36 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/13.04, allocations: 10.5 kB / 1.504 GB, free: 10.36 MB / 1.201 GB " [Timeout remaining time 287] (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: 19.99944703327492]