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.001367/0.001367, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001456/0.001456, allocations: 217 kB / 22.25 MB, free: 5.082 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.448/1.448, allocations: 230.6 MB / 256 MB, free: 8.008 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.139/3.139, allocations: 0.49 GB / 0.7951 GB, free: 33.46 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.002008/0.002008, allocations: 72.25 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3049, allocations: 176.1 MB / 1.326 GB, free: 1.922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01588/0.3207, allocations: 11.62 MB / 1.337 GB, free: 6.266 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00999/0.3307, allocations: 6.023 MB / 1.343 GB, free: 228 kB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000982/0.3317, allocations: 71.38 kB / 1.343 GB, free: 156 kB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004635/0.3363, allocations: 1.809 MB / 1.345 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002878/0.3392, allocations: 1.178 MB / 1.346 GB, free: 13.16 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002112/0.3413, allocations: 0.826 MB / 1.347 GB, free: 12.33 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002794/0.3441, allocations: 2.12 MB / 1.349 GB, free: 10.2 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001482/0.3456, allocations: 1.037 MB / 1.35 GB, free: 9.133 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001332/0.3469, allocations: 0.8719 MB / 1.351 GB, free: 8.258 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001539/0.3485, allocations: 0.9688 MB / 1.352 GB, free: 7.285 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002664/0.3487, allocations: 116 kB / 1.352 GB, free: 7.172 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002158/0.3509, allocations: 1.204 MB / 1.353 GB, free: 5.965 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006401/0.3515, allocations: 0.5412 MB / 1.354 GB, free: 5.422 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.3526, allocations: 0.7849 MB / 1.354 GB, free: 4.633 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00391/0.3565, allocations: 2.436 MB / 1.357 GB, free: 2.188 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3565, allocations: 12 kB / 1.357 GB, free: 2.176 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3565, allocations: 0 / 1.357 GB, free: 2.176 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.011e-05/0.3566, allocations: 0 / 1.357 GB, free: 2.176 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.003565/0.3602, allocations: 1.84 MB / 1.359 GB, free: 300 kB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.3602, allocations: 12.03 kB / 1.359 GB, free: 288 kB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002859/0.3605, allocations: 211.4 kB / 1.359 GB, free: 64 kB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004393/0.3649, allocations: 0.6748 MB / 1.359 GB, free: 15.39 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002219/0.3671, allocations: 0.9213 MB / 1.36 GB, free: 14.44 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.3672, allocations: 94.89 kB / 1.36 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003385/0.3676, allocations: 128.4 kB / 1.361 GB, free: 14.22 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003668/0.3712, allocations: 2.207 MB / 1.363 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.785e-05/0.3713, allocations: 15.83 kB / 1.363 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001792/0.3715, allocations: 59.97 kB / 1.363 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002184/0.3717, allocations: 166.3 kB / 1.363 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003186/0.3749, allocations: 1.867 MB / 1.365 GB, free: 9.672 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01299/0.3879, allocations: 11.74 MB / 1.376 GB, free: 13.14 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004299/0.3922, allocations: 1.879 MB / 1.378 GB, free: 11.25 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000851/0.393, allocations: 0.562 MB / 1.379 GB, free: 10.69 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001468/0.3932, allocations: 24.97 kB / 1.379 GB, free: 10.66 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/0.3932, allocations: 47.5 kB / 1.379 GB, free: 10.61 MB / 1.076 GB Notification: Performance of pre-optimization done (n=103): time 3.026e-06/0.3932, allocations: 0 / 1.379 GB, free: 10.61 MB / 1.076 GB Notification: Performance of matching and sorting (n=110): time 0.005991/0.3992, allocations: 3.126 MB / 1.382 GB, free: 7.469 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.3993, allocations: 64.41 kB / 1.382 GB, free: 7.395 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.4005, allocations: 0.9206 MB / 1.383 GB, free: 6.457 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.604e-05/0.4006, allocations: 45.7 kB / 1.383 GB, free: 6.406 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005671/0.4011, allocations: 0.7494 MB / 1.383 GB, free: 5.648 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003512/0.4015, allocations: 408.6 kB / 1.384 GB, free: 5.246 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004063/0.4019, allocations: 287.4 kB / 1.384 GB, free: 4.961 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.402, allocations: 301.1 kB / 1.384 GB, free: 4.664 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000982/0.403, allocations: 0.6129 MB / 1.385 GB, free: 4.051 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/0.4044, allocations: 1.113 MB / 1.386 GB, free: 2.723 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002447/0.4068, allocations: 1.824 MB / 1.388 GB, free: 0.6797 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.328e-05/0.4068, allocations: 12 kB / 1.388 GB, free: 0.668 MB / 1.076 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003646/0.4105, allocations: 2.1 MB / 1.39 GB, free: 14.54 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.4105, allocations: 14.03 kB / 1.39 GB, free: 14.52 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-05/0.4105, allocations: 16 kB / 1.39 GB, free: 14.51 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000826/0.4114, allocations: 259.1 kB / 1.39 GB, free: 14.23 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.4126, allocations: 371.4 kB / 1.391 GB, free: 13.87 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009219/0.4219, allocations: 10.77 MB / 1.401 GB, free: 2.172 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.423, allocations: 127.8 kB / 1.401 GB, free: 2.047 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.4231, allocations: 71.98 kB / 1.401 GB, free: 1.977 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.0006713/0.4238, allocations: 409.2 kB / 1.402 GB, free: 1.566 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00021/0.424, allocations: 135.2 kB / 1.402 GB, free: 1.434 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002868/0.4269, allocations: 1.681 MB / 1.403 GB, free: 15.72 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.4269, allocations: 8 kB / 1.403 GB, free: 15.71 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4269, allocations: 4 kB / 1.403 GB, free: 15.71 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.4269, allocations: 3.984 kB / 1.403 GB, free: 15.7 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005336/0.4322, allocations: 3.26 MB / 1.407 GB, free: 12.3 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/0.4322, allocations: 4 kB / 1.407 GB, free: 12.3 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008333/0.4331, allocations: 219.6 kB / 1.407 GB, free: 12.09 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007033/0.4338, allocations: 242.6 kB / 1.407 GB, free: 11.82 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.285e-05/0.4338, allocations: 31.94 kB / 1.407 GB, free: 11.79 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008872/0.4427, allocations: 10.76 MB / 1.418 GB, free: 116 kB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.198e-06/0.4427, allocations: 11.94 kB / 1.418 GB, free: 104 kB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002849/0.4456, allocations: 1.8 MB / 1.419 GB, free: 14.19 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005757/0.4461, allocations: 238.9 kB / 1.42 GB, free: 13.96 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.4463, allocations: 28 kB / 1.42 GB, free: 13.93 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006666/0.447, allocations: 95.86 kB / 1.42 GB, free: 13.84 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.4471, allocations: 104.6 kB / 1.42 GB, free: 13.73 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.26e-05/0.4472, allocations: 32 kB / 1.42 GB, free: 13.7 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007914/0.448, allocations: 0.6177 MB / 1.42 GB, free: 13.08 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.01e-07/0.448, allocations: 0 / 1.42 GB, free: 13.08 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001363/0.4494, allocations: 395.9 kB / 1.421 GB, free: 12.69 MB / 1.123 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.003129/0.4525, allocations: 2.391 MB / 1.423 GB, free: 10.18 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.003758/0.4562, allocations: 2.402 MB / 1.426 GB, free: 7.68 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.4562, allocations: 0 / 1.426 GB, free: 7.68 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002173/0.4584, allocations: 1.594 MB / 1.427 GB, free: 5.984 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/0.4602, allocations: 361 kB / 1.427 GB, free: 5.645 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/0.477, allocations: 11.54 MB / 1.439 GB, free: 9.348 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/0.478, allocations: 1.327 MB / 1.44 GB, free: 7.984 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0009299/0.4789, allocations: 359.3 kB / 1.44 GB, free: 7.629 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000714/0.4796, allocations: 0.5344 MB / 1.441 GB, free: 7.098 MB / 1.139 GB Notification: Performance of SimCode: time 6.51e-07/0.4796, allocations: 0 / 1.441 GB, free: 7.098 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1043/0.584, allocations: 29.69 MB / 1.47 GB, free: 9.785 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/13.92, allocations: 2.234 kB / 1.47 GB, free: 9.785 MB / 1.17 GB " [Timeout remaining time 286] (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: 20.521527369040996]