Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001262/0.001262, allocations: 76.5 kB / 19.93 MB, free: 4.621 MB / 18.57 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.001298/0.001298, allocations: 177.9 kB / 23.21 MB, free: 1.344 MB / 18.57 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 0.8782/0.8782, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.764/1.764, allocations: 389 MB / 0.6338 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.309e-05, allocations: 4.953 kB / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02178/0.0218, allocations: 31.1 MB / 1.031 GB, free: 13.77 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.4249/0.4468, allocations: 14.29 MB / 1.045 GB, free: 50.11 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002683/0.4494, allocations: 212.5 kB / 1.045 GB, free: 50.11 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.003599/0.453, allocations: 3.671 MB / 1.049 GB, free: 50.1 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.004181/0.4572, allocations: 3.078 MB / 1.052 GB, free: 49.5 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002921/0.4601, allocations: 2.367 MB / 1.054 GB, free: 49.4 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.004893/0.465, allocations: 9.001 MB / 1.063 GB, free: 47.89 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004068/0.4691, allocations: 5.502 MB / 1.069 GB, free: 45.5 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004364/0.4735, allocations: 5.685 MB / 1.074 GB, free: 43.27 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002582/0.476, allocations: 3.661 MB / 1.078 GB, free: 42.41 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0008951/0.4769, allocations: 0.7121 MB / 1.078 GB, free: 42.41 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002047/0.479, allocations: 1.643 MB / 1.08 GB, free: 42.19 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001508/0.4805, allocations: 3.013 MB / 1.083 GB, free: 40.91 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001748/0.4822, allocations: 2.358 MB / 1.085 GB, free: 39.9 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.009156/0.4914, allocations: 11.37 MB / 1.096 GB, free: 36.66 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.4914, allocations: 0.75 kB / 1.096 GB, free: 36.66 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4914, allocations: 0 / 1.096 GB, free: 36.66 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002056/0.4916, allocations: 0 / 1.096 GB, free: 36.66 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.008448/0.5001, allocations: 5.977 MB / 1.102 GB, free: 33.38 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.5001, allocations: 11.28 kB / 1.102 GB, free: 33.38 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003855/0.504, allocations: 1.173 MB / 1.103 GB, free: 33.03 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004656/0.5086, allocations: 3.456 MB / 1.107 GB, free: 31.45 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001793/0.5088, allocations: 375.6 kB / 1.107 GB, free: 31.29 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005886/0.5094, allocations: 493.6 kB / 1.107 GB, free: 31.13 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00968/0.5191, allocations: 8.706 MB / 1.116 GB, free: 27 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001016/0.5192, allocations: 26.14 kB / 1.116 GB, free: 27 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004073/0.5196, allocations: 220.4 kB / 1.116 GB, free: 26.84 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006394/0.5202, allocations: 438.6 kB / 1.117 GB, free: 26.8 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007234/0.5274, allocations: 6.075 MB / 1.123 GB, free: 24.73 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01777/0.5452, allocations: 21.2 MB / 1.143 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/0.5469, allocations: 1.904 MB / 1.145 GB, free: 10.75 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.5484, allocations: 1.75 MB / 1.147 GB, free: 9.84 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.537e-05/0.5485, allocations: 18.16 kB / 1.147 GB, free: 9.84 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.5485, allocations: 57.81 kB / 1.147 GB, free: 9.781 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=171): time 3.687e-06/0.5485, allocations: 1.25 kB / 1.147 GB, free: 9.781 MB / 0.9948 GB Notification: Performance of matching and sorting (n=276): time 0.07373/0.6222, allocations: 38.67 MB / 1.185 GB, free: 13.91 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.6223, allocations: 81.58 kB / 1.185 GB, free: 13.81 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002192/0.6245, allocations: 2.035 MB / 1.187 GB, free: 11.76 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0001709/0.6247, allocations: 73.53 kB / 1.187 GB, free: 11.68 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.001043/0.6257, allocations: 2.35 MB / 1.189 GB, free: 9.316 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005406/0.6262, allocations: 0.9639 MB / 1.19 GB, free: 8.367 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000628/0.6269, allocations: 0.5063 MB / 1.191 GB, free: 7.852 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 6.765e-05/0.6269, allocations: 308 kB / 1.191 GB, free: 7.551 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002055/0.629, allocations: 1.973 MB / 1.193 GB, free: 5.574 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002182/0.6312, allocations: 2.601 MB / 1.195 GB, free: 2.73 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004534/0.6357, allocations: 4.933 MB / 1.2 GB, free: 13.53 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.6357, allocations: 4 kB / 1.2 GB, free: 13.53 MB / 1.042 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.00903/0.6447, allocations: 7.621 MB / 1.208 GB, free: 5.84 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.6448, allocations: 12 kB / 1.208 GB, free: 5.828 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/0.6448, allocations: 16.91 kB / 1.208 GB, free: 5.812 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005193/0.65, allocations: 3.211 MB / 1.211 GB, free: 2.59 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009052/0.6509, allocations: 403.3 kB / 1.211 GB, free: 2.195 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02852/0.6794, allocations: 32.56 MB / 1.243 GB, free: 1.051 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002122/0.6815, allocations: 163.8 kB / 1.243 GB, free: 0.8906 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/0.6817, allocations: 108 kB / 1.243 GB, free: 0.7852 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002764/0.6845, allocations: 1.797 MB / 1.245 GB, free: 14.98 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000362/0.6848, allocations: 314.6 kB / 1.245 GB, free: 14.67 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008518/0.6933, allocations: 7.236 MB / 1.252 GB, free: 7.348 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.6934, allocations: 28 kB / 1.252 GB, free: 7.32 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.72e-05/0.6934, allocations: 28 kB / 1.252 GB, free: 7.293 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/0.6934, allocations: 11.95 kB / 1.252 GB, free: 7.281 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/0.7073, allocations: 11.41 MB / 1.263 GB, free: 11.77 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/0.7073, allocations: 4 kB / 1.263 GB, free: 11.77 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004918/0.7078, allocations: 233.4 kB / 1.264 GB, free: 11.54 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004342/0.7121, allocations: 2.846 MB / 1.267 GB, free: 8.676 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/0.7122, allocations: 63.86 kB / 1.267 GB, free: 8.613 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02629/0.7385, allocations: 31.34 MB / 1.297 GB, free: 8.672 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.7385, allocations: 8 kB / 1.297 GB, free: 8.664 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007901/0.7464, allocations: 6.744 MB / 1.304 GB, free: 1.707 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00173/0.7482, allocations: 0.6908 MB / 1.304 GB, free: 1.016 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002924/0.7485, allocations: 63.92 kB / 1.304 GB, free: 0.9531 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.7495, allocations: 168 kB / 1.305 GB, free: 0.7891 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009072/0.7504, allocations: 265.3 kB / 1.305 GB, free: 0.5312 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/0.7505, allocations: 79.94 kB / 1.305 GB, free: 464 kB / 1.135 GB Notification: Performance of sorting global known variables: time 0.001392/0.7519, allocations: 1.33 MB / 1.306 GB, free: 15.11 MB / 1.151 GB Notification: Performance of sort global known variables: time 9e-08/0.7519, allocations: 0 / 1.306 GB, free: 15.11 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002995/0.7549, allocations: 1.363 MB / 1.308 GB, free: 13.75 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002753/0.7552, allocations: 184.9 kB / 1.308 GB, free: 13.57 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.007084/0.7623, allocations: 6.561 MB / 1.314 GB, free: 6.945 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.7623, allocations: 0 / 1.314 GB, free: 6.945 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.004229/0.7665, allocations: 4.232 MB / 1.318 GB, free: 2.633 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002731/0.7692, allocations: 1.02 MB / 1.319 GB, free: 1.652 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/0.7818, allocations: 11.01 MB / 1.33 GB, free: 6.543 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003005/0.7848, allocations: 3.22 MB / 1.333 GB, free: 3.285 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004929/0.7853, allocations: 160.5 kB / 1.333 GB, free: 3.129 MB / 1.167 GB Notification: Performance of SimCode: time 7.31e-07/0.7853, allocations: 0 / 1.333 GB, free: 3.129 MB / 1.167 GB Notification: Performance of Templates: time 0.1455/0.9308, allocations: 227.9 MB / 1.556 GB, free: 15.34 MB / 1.401 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.874998604878783]