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.001661/0.001661, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002024/0.002024, allocations: 217.5 kB / 23.01 MB, free: 4.609 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.323/3.323, allocations: 0.505 GB / 0.8108 GB, free: 22.18 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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [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.002059/0.002059, allocations: 72.17 kB / 1.178 GB, free: 16.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.41, allocations: 180.2 MB / 1.354 GB, free: 7.965 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01518/0.4251, allocations: 11.6 MB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0111/0.4362, allocations: 6.027 MB / 1.371 GB, free: 6.273 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001636/0.4379, allocations: 71.31 kB / 1.371 GB, free: 6.203 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.005081/0.443, allocations: 1.811 MB / 1.373 GB, free: 4.391 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003943/0.4469, allocations: 1.186 MB / 1.374 GB, free: 3.199 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002665/0.4496, allocations: 0.8134 MB / 1.375 GB, free: 2.387 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003747/0.4533, allocations: 2.131 MB / 1.377 GB, free: 252 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001901/0.4552, allocations: 1.025 MB / 1.378 GB, free: 15.19 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001955/0.4572, allocations: 0.8757 MB / 1.379 GB, free: 14.31 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002092/0.4593, allocations: 0.9649 MB / 1.38 GB, free: 13.34 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.00049/0.4598, allocations: 112 kB / 1.38 GB, free: 13.23 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002992/0.4628, allocations: 1.204 MB / 1.381 GB, free: 12.03 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006787/0.4634, allocations: 0.5452 MB / 1.382 GB, free: 11.48 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00107/0.4645, allocations: 0.7888 MB / 1.383 GB, free: 10.69 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003755/0.4683, allocations: 2.44 MB / 1.385 GB, free: 8.238 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.4683, allocations: 4 kB / 1.385 GB, free: 8.234 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4683, allocations: 0 / 1.385 GB, free: 8.234 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.034e-05/0.4683, allocations: 0 / 1.385 GB, free: 8.234 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.003264/0.4715, allocations: 1.848 MB / 1.387 GB, free: 6.344 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.4716, allocations: 11.97 kB / 1.387 GB, free: 6.332 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004253/0.4758, allocations: 0.6709 MB / 1.387 GB, free: 5.66 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001993/0.4778, allocations: 0.9174 MB / 1.388 GB, free: 4.719 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.883e-05/0.4779, allocations: 94.89 kB / 1.388 GB, free: 4.625 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002209/0.4781, allocations: 132.3 kB / 1.389 GB, free: 4.496 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003277/0.4814, allocations: 2.199 MB / 1.391 GB, free: 2.07 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.456e-05/0.4815, allocations: 19.83 kB / 1.391 GB, free: 2.051 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/0.4816, allocations: 59.97 kB / 1.391 GB, free: 1.992 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002152/0.4818, allocations: 166.3 kB / 1.391 GB, free: 1.828 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002902/0.4847, allocations: 1.867 MB / 1.393 GB, free: 15.95 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01311/0.4978, allocations: 11.74 MB / 1.404 GB, free: 3.422 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004327/0.5022, allocations: 1.886 MB / 1.406 GB, free: 1.527 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000863/0.503, allocations: 0.5658 MB / 1.407 GB, free: 0.957 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.5032, allocations: 20.98 kB / 1.407 GB, free: 0.9375 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.5032, allocations: 43.56 kB / 1.407 GB, free: 0.8867 MB / 1.092 GB Notification: Performance of pre-optimization done (n=103): time 3.156e-06/0.5032, allocations: 0 / 1.407 GB, free: 0.8867 MB / 1.092 GB Notification: Performance of matching and sorting (n=110): time 0.006014/0.5092, allocations: 3.129 MB / 1.41 GB, free: 13.75 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.5093, allocations: 64.41 kB / 1.41 GB, free: 13.67 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.5105, allocations: 0.9205 MB / 1.411 GB, free: 12.73 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.219e-05/0.5105, allocations: 45.7 kB / 1.411 GB, free: 12.68 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005908/0.5111, allocations: 0.7455 MB / 1.411 GB, free: 11.93 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003651/0.5115, allocations: 408.6 kB / 1.412 GB, free: 11.52 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003976/0.5119, allocations: 287.4 kB / 1.412 GB, free: 11.24 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.512, allocations: 305.1 kB / 1.412 GB, free: 10.94 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009562/0.513, allocations: 0.6129 MB / 1.413 GB, free: 10.32 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/0.5144, allocations: 1.113 MB / 1.414 GB, free: 8.992 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002506/0.5169, allocations: 1.824 MB / 1.416 GB, free: 6.949 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.5169, allocations: 12 kB / 1.416 GB, free: 6.938 MB / 1.107 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00354/0.5204, allocations: 2.1 MB / 1.418 GB, free: 4.805 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/0.5205, allocations: 12 kB / 1.418 GB, free: 4.793 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/0.5205, allocations: 16 kB / 1.418 GB, free: 4.777 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008034/0.5213, allocations: 255.1 kB / 1.418 GB, free: 4.504 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.5225, allocations: 375.4 kB / 1.419 GB, free: 4.137 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009467/0.532, allocations: 10.77 MB / 1.429 GB, free: 8.445 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.5333, allocations: 123.8 kB / 1.429 GB, free: 8.324 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.5334, allocations: 79.86 kB / 1.429 GB, free: 8.246 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.000727/0.5342, allocations: 407.8 kB / 1.43 GB, free: 7.84 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/0.5343, allocations: 135.2 kB / 1.43 GB, free: 7.707 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002918/0.5373, allocations: 1.677 MB / 1.431 GB, free: 6 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.5373, allocations: 8 kB / 1.431 GB, free: 5.992 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5373, allocations: 4 kB / 1.431 GB, free: 5.988 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.5373, allocations: 3.984 kB / 1.431 GB, free: 5.984 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005244/0.5425, allocations: 3.26 MB / 1.435 GB, free: 2.582 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.5425, allocations: 12.09 kB / 1.435 GB, free: 2.57 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008267/0.5434, allocations: 215.7 kB / 1.435 GB, free: 2.359 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007055/0.5441, allocations: 242.6 kB / 1.435 GB, free: 2.098 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.644e-05/0.5441, allocations: 31.94 kB / 1.435 GB, free: 2.066 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009135/0.5533, allocations: 10.75 MB / 1.446 GB, free: 6.398 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.808e-06/0.5533, allocations: 11.94 kB / 1.446 GB, free: 6.387 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002903/0.5562, allocations: 1.796 MB / 1.447 GB, free: 4.484 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006245/0.5568, allocations: 239 kB / 1.448 GB, free: 4.25 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/0.557, allocations: 28 kB / 1.448 GB, free: 4.223 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000686/0.5576, allocations: 95.86 kB / 1.448 GB, free: 4.129 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.5578, allocations: 104.6 kB / 1.448 GB, free: 4.027 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-05/0.5579, allocations: 35.94 kB / 1.448 GB, free: 3.992 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0008195/0.5587, allocations: 0.6177 MB / 1.448 GB, free: 3.367 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.5587, allocations: 0 / 1.448 GB, free: 3.367 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001453/0.5602, allocations: 395.9 kB / 1.449 GB, free: 2.98 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.0002465/0.5604, allocations: 147 kB / 1.449 GB, free: 2.828 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003655/0.5641, allocations: 2.402 MB / 1.451 GB, free: 328 kB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.5641, allocations: 0 / 1.451 GB, free: 328 kB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002262/0.5663, allocations: 1.587 MB / 1.453 GB, free: 14.63 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/0.5681, allocations: 369.6 kB / 1.453 GB, free: 14.28 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004876/0.5729, allocations: 2.906 MB / 1.456 GB, free: 11.27 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.574, allocations: 1.331 MB / 1.457 GB, free: 9.906 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000393/0.5743, allocations: 111.4 kB / 1.457 GB, free: 9.797 MB / 1.154 GB Notification: Performance of SimCode: time 1.102e-06/0.5743, allocations: 0 / 1.457 GB, free: 9.797 MB / 1.154 GB Notification: Performance of Templates: time 0.06898/0.6433, allocations: 59.49 MB / 1.516 GB, free: 14.31 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 800] 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: 16.447239920002175]