Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.001577/0.001577, allocations: 116.3 kB / 17.13 MB, free: 6.027 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.001893/0.001893, allocations: 208.7 kB / 20.1 MB, free: 3.074 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.541/1.541, allocations: 230.6 MB / 253.5 MB, free: 15.12 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 2.975/2.975, allocations: 0.49 GB / 0.7923 GB, free: 1.367 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") [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.002096/0.002096, allocations: 76.17 kB / 1.15 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.113/1.115, allocations: 176.1 MB / 1.322 GB, free: 25.18 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02282/1.138, allocations: 20.83 MB / 1.342 GB, free: 11.28 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01348/1.152, allocations: 7.816 MB / 1.35 GB, free: 5.988 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003095/1.155, allocations: 73.06 kB / 1.35 GB, free: 5.965 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004182/1.159, allocations: 1.38 MB / 1.351 GB, free: 5.152 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003924/1.163, allocations: 1.018 MB / 1.352 GB, free: 4.566 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.006168/1.169, allocations: 2.004 MB / 1.354 GB, free: 3.469 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.007455/1.177, allocations: 4.334 MB / 1.359 GB, free: 1.594 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01358/1.19, allocations: 4.499 MB / 1.363 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006529/1.197, allocations: 1.897 MB / 1.365 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006968/1.204, allocations: 2.319 MB / 1.367 GB, free: 14.02 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.003043/1.207, allocations: 427.4 kB / 1.367 GB, free: 14.02 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005279/1.212, allocations: 0.9607 MB / 1.368 GB, free: 13.82 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.006318/1.218, allocations: 1.691 MB / 1.37 GB, free: 13.11 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0108/1.229, allocations: 1.713 MB / 1.372 GB, free: 11.99 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01797/1.247, allocations: 6.202 MB / 1.378 GB, free: 10.06 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.133e-05/1.247, allocations: 2.156 kB / 1.378 GB, free: 10.06 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.905e-06/1.247, allocations: 0 / 1.378 GB, free: 10.06 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.000278/1.247, allocations: 0 / 1.378 GB, free: 10.06 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.0163/1.264, allocations: 3.125 MB / 1.381 GB, free: 8.258 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 7.099e-05/1.264, allocations: 13.38 kB / 1.381 GB, free: 8.254 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006237/1.27, allocations: 0.759 MB / 1.382 GB, free: 8.07 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005649/1.276, allocations: 1.573 MB / 1.383 GB, free: 7.203 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004436/1.276, allocations: 220 kB / 1.383 GB, free: 7.102 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002298/1.278, allocations: 299 kB / 1.384 GB, free: 6.996 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0195/1.298, allocations: 5.072 MB / 1.389 GB, free: 4.938 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002689/1.298, allocations: 16.17 kB / 1.389 GB, free: 4.926 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002035/1.3, allocations: 120.9 kB / 1.389 GB, free: 4.836 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004535/1.301, allocations: 212.1 kB / 1.389 GB, free: 4.805 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0134/1.314, allocations: 4.217 MB / 1.393 GB, free: 3.398 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04157/1.356, allocations: 22.97 MB / 1.415 GB, free: 15.06 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003813/1.359, allocations: 1.655 MB / 1.417 GB, free: 14.15 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002195/1.362, allocations: 1.087 MB / 1.418 GB, free: 13.56 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002251/1.362, allocations: 102.6 kB / 1.418 GB, free: 13.45 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.902e-05/1.362, allocations: 48.36 kB / 1.418 GB, free: 13.4 MB / 1.107 GB Notification: Performance of pre-optimization done (n=84): time 3.447e-06/1.362, allocations: 0 / 1.418 GB, free: 13.4 MB / 1.107 GB Notification: Performance of matching and sorting (n=87): time 0.01009/1.372, allocations: 4.109 MB / 1.422 GB, free: 10.84 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/1.372, allocations: 145.5 kB / 1.422 GB, free: 10.67 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/1.374, allocations: 0.8642 MB / 1.423 GB, free: 10.17 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002184/1.374, allocations: 45.61 kB / 1.423 GB, free: 10.12 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001112/1.375, allocations: 1.2 MB / 1.424 GB, free: 9.066 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005395/1.376, allocations: 327.1 kB / 1.425 GB, free: 8.785 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007018/1.377, allocations: 275.3 kB / 1.425 GB, free: 8.633 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0003148/1.377, allocations: 412.2 kB / 1.425 GB, free: 8.246 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00168/1.379, allocations: 0.8237 MB / 1.426 GB, free: 7.812 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00251/1.381, allocations: 1.313 MB / 1.428 GB, free: 6.742 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003622/1.385, allocations: 2.16 MB / 1.43 GB, free: 5.258 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/1.385, allocations: 8.844 kB / 1.43 GB, free: 5.254 MB / 1.107 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004464/1.389, allocations: 2.212 MB / 1.432 GB, free: 4.113 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/1.389, allocations: 11.06 kB / 1.432 GB, free: 4.113 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.881e-05/1.389, allocations: 14.31 kB / 1.432 GB, free: 4.113 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.358e-05/1.389, allocations: 24.75 kB / 1.432 GB, free: 4.109 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001813/1.391, allocations: 416.9 kB / 1.432 GB, free: 3.977 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.403e-05/1.391, allocations: 28.95 kB / 1.432 GB, free: 3.969 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/1.393, allocations: 218.3 kB / 1.432 GB, free: 3.852 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/1.393, allocations: 59.36 kB / 1.433 GB, free: 3.84 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003642/1.397, allocations: 1.678 MB / 1.434 GB, free: 2.883 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001817/1.398, allocations: 1.194 MB / 1.435 GB, free: 1.852 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002955/1.401, allocations: 1.903 MB / 1.437 GB, free: 304 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.38e-05/1.401, allocations: 7.938 kB / 1.437 GB, free: 296 kB / 1.107 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003736/1.405, allocations: 1.934 MB / 1.439 GB, free: 14.34 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/1.405, allocations: 12 kB / 1.439 GB, free: 14.33 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/1.405, allocations: 20 kB / 1.439 GB, free: 14.31 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/1.405, allocations: 20 kB / 1.439 GB, free: 14.29 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/1.407, allocations: 363.4 kB / 1.439 GB, free: 13.94 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-05/1.407, allocations: 36.11 kB / 1.44 GB, free: 13.9 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/1.408, allocations: 179.7 kB / 1.44 GB, free: 13.73 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/1.408, allocations: 59.98 kB / 1.44 GB, free: 13.67 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004779/1.409, allocations: 267.7 kB / 1.44 GB, free: 13.4 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003163/1.409, allocations: 111.3 kB / 1.44 GB, free: 13.29 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003289/1.412, allocations: 1.854 MB / 1.442 GB, free: 11.42 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/1.412, allocations: 8 kB / 1.442 GB, free: 11.41 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/1.412, allocations: 3.984 kB / 1.442 GB, free: 11.41 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/1.413, allocations: 7.984 kB / 1.442 GB, free: 11.4 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01618/1.429, allocations: 9.585 MB / 1.451 GB, free: 1.57 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/1.429, allocations: 12 kB / 1.451 GB, free: 1.559 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/1.43, allocations: 311.5 kB / 1.452 GB, free: 1.254 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.122e-05/1.43, allocations: 16 kB / 1.452 GB, free: 1.238 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-05/1.43, allocations: 31.94 kB / 1.452 GB, free: 1.207 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.186e-05/1.43, allocations: 31.8 kB / 1.452 GB, free: 1.176 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.574e-05/1.43, allocations: 15.94 kB / 1.452 GB, free: 1.16 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003522/1.434, allocations: 2.406 MB / 1.454 GB, free: 14.59 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008825/1.435, allocations: 380.1 kB / 1.454 GB, free: 14.2 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001937/1.435, allocations: 28 kB / 1.454 GB, free: 14.18 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/1.436, allocations: 147.7 kB / 1.455 GB, free: 14.03 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000215/1.436, allocations: 91.67 kB / 1.455 GB, free: 13.94 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.112e-05/1.436, allocations: 39.98 kB / 1.455 GB, free: 13.9 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001056/1.437, allocations: 0.6083 MB / 1.455 GB, free: 13.3 MB / 1.139 GB Notification: Performance of sort global known variables: time 8.1e-08/1.437, allocations: 0 / 1.455 GB, free: 13.3 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003274/1.44, allocations: 0.7578 MB / 1.456 GB, free: 12.54 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000316/1.441, allocations: 157 kB / 1.456 GB, free: 12.38 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005024/1.446, allocations: 2.757 MB / 1.459 GB, free: 9.629 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.604e-05/1.446, allocations: 0 / 1.459 GB, free: 9.629 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001457/1.447, allocations: 0.8915 MB / 1.46 GB, free: 8.738 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002133/1.449, allocations: 307.9 kB / 1.46 GB, free: 8.457 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/1.46, allocations: 5.505 MB / 1.465 GB, free: 2.758 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002424/1.462, allocations: 2.191 MB / 1.468 GB, free: 0.5312 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007082/1.463, allocations: 95.41 kB / 1.468 GB, free: 448 kB / 1.139 GB Notification: Performance of SimCode: time 1.463e-06/1.463, allocations: 4 kB / 1.468 GB, free: 444 kB / 1.139 GB Notification: Performance of Templates: time 0.04921/1.512, allocations: 28.29 MB / 1.495 GB, free: 4.23 MB / 1.17 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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: 15.585388968000188]