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.001499/0.001499, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001805/0.001805, allocations: 160.3 kB / 23.01 MB, free: 4.598 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.449/1.449, allocations: 177.2 MB / 203.4 MB, free: 8.984 MB / 190.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 2.956/2.956, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 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.002182/0.002182, allocations: 63.89 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8518/0.854, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01172/0.8657, allocations: 10.71 MB / 1.197 GB, free: 9.484 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00904/0.8748, allocations: 5.653 MB / 1.203 GB, free: 5.863 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001517/0.8763, allocations: 73.12 kB / 1.203 GB, free: 5.82 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004374/0.8807, allocations: 1.728 MB / 1.204 GB, free: 4.844 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003543/0.8842, allocations: 1.19 MB / 1.205 GB, free: 4.164 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002196/0.8864, allocations: 0.8116 MB / 1.206 GB, free: 3.762 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002449/0.8889, allocations: 2.129 MB / 1.208 GB, free: 2.781 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.8901, allocations: 1.012 MB / 1.209 GB, free: 2.297 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001266/0.8914, allocations: 0.8825 MB / 1.21 GB, free: 1.918 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001203/0.8926, allocations: 0.9012 MB / 1.211 GB, free: 1.57 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001785/0.8927, allocations: 113.7 kB / 1.211 GB, free: 1.57 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002022/0.8948, allocations: 1.064 MB / 1.212 GB, free: 1.215 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005056/0.8953, allocations: 0.5303 MB / 1.213 GB, free: 0.9883 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006664/0.8959, allocations: 0.6485 MB / 1.213 GB, free: 0.6445 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003309/0.8992, allocations: 2.448 MB / 1.216 GB, free: 15.8 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.8993, allocations: 0 / 1.216 GB, free: 15.8 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.293e-06/0.8993, allocations: 4 kB / 1.216 GB, free: 15.8 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.368e-05/0.8993, allocations: 5.406 kB / 1.216 GB, free: 15.79 MB / 1.092 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.003519/0.9028, allocations: 1.844 MB / 1.218 GB, free: 14.61 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.9028, allocations: 10.33 kB / 1.218 GB, free: 14.61 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004797/0.9076, allocations: 0.6877 MB / 1.218 GB, free: 14.48 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002045/0.9097, allocations: 0.9151 MB / 1.219 GB, free: 13.97 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.439e-05/0.9098, allocations: 89.8 kB / 1.219 GB, free: 13.93 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002187/0.91, allocations: 131.2 kB / 1.219 GB, free: 13.89 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003657/0.9136, allocations: 2.413 MB / 1.222 GB, free: 12.42 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.083e-05/0.9137, allocations: 17.97 kB / 1.222 GB, free: 12.41 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001582/0.9139, allocations: 58.38 kB / 1.222 GB, free: 12.37 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002269/0.9141, allocations: 164.3 kB / 1.222 GB, free: 12.34 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00318/0.9173, allocations: 1.857 MB / 1.224 GB, free: 11.7 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01164/0.9289, allocations: 9.209 MB / 1.233 GB, free: 4.691 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004363/0.9333, allocations: 1.873 MB / 1.235 GB, free: 4.156 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008731/0.9341, allocations: 0.5636 MB / 1.235 GB, free: 3.969 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00014/0.9343, allocations: 19.69 kB / 1.235 GB, free: 3.969 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.9343, allocations: 45.45 kB / 1.235 GB, free: 3.918 MB / 1.092 GB Notification: Performance of pre-optimization done (n=103): time 3.106e-06/0.9343, allocations: 0 / 1.235 GB, free: 3.918 MB / 1.092 GB Notification: Performance of matching and sorting (n=110): time 0.006286/0.9406, allocations: 3.116 MB / 1.238 GB, free: 2.711 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.9407, allocations: 67.91 kB / 1.238 GB, free: 2.645 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.9418, allocations: 0.8864 MB / 1.239 GB, free: 2.246 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.249e-05/0.9419, allocations: 41.61 kB / 1.239 GB, free: 2.203 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006048/0.9425, allocations: 0.7563 MB / 1.24 GB, free: 1.598 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003754/0.9428, allocations: 406 kB / 1.24 GB, free: 1.281 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004182/0.9433, allocations: 290.3 kB / 1.241 GB, free: 1.145 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.9434, allocations: 303.6 kB / 1.241 GB, free: 0.8477 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009238/0.9443, allocations: 0.6123 MB / 1.242 GB, free: 0.582 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/0.9457, allocations: 1.105 MB / 1.243 GB, free: 15.65 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002514/0.9482, allocations: 1.831 MB / 1.244 GB, free: 14.32 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/0.9482, allocations: 4.969 kB / 1.244 GB, free: 14.32 MB / 1.107 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003555/0.9518, allocations: 2.096 MB / 1.246 GB, free: 13.23 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.9518, allocations: 11.59 kB / 1.246 GB, free: 13.23 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/0.9518, allocations: 16.41 kB / 1.246 GB, free: 13.23 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000851/0.9527, allocations: 260.8 kB / 1.247 GB, free: 13.07 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.9541, allocations: 374.9 kB / 1.247 GB, free: 12.97 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/0.9646, allocations: 10.58 MB / 1.257 GB, free: 2.523 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002078/0.9667, allocations: 124.1 kB / 1.258 GB, free: 2.461 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/0.9669, allocations: 72.02 kB / 1.258 GB, free: 2.445 MB / 1.107 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.000913/0.9678, allocations: 403.7 kB / 1.258 GB, free: 2.152 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002503/0.968, allocations: 129.5 kB / 1.258 GB, free: 2.086 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003014/0.971, allocations: 1.671 MB / 1.26 GB, free: 1.109 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.971, allocations: 11.72 kB / 1.26 GB, free: 1.109 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.9711, allocations: 6.469 kB / 1.26 GB, free: 1.105 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.9711, allocations: 7.984 kB / 1.26 GB, free: 1.098 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005501/0.9766, allocations: 2.935 MB / 1.263 GB, free: 15.3 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/0.9766, allocations: 5.719 kB / 1.263 GB, free: 15.3 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009179/0.9775, allocations: 219.2 kB / 1.263 GB, free: 15.25 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008483/0.9783, allocations: 244.3 kB / 1.263 GB, free: 15.09 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-05/0.9784, allocations: 27.66 kB / 1.263 GB, free: 15.07 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009615/0.9881, allocations: 10.57 MB / 1.273 GB, free: 4.617 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/0.9881, allocations: 9.688 kB / 1.273 GB, free: 4.613 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003036/0.9911, allocations: 1.797 MB / 1.275 GB, free: 3.48 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007256/0.9918, allocations: 223.5 kB / 1.275 GB, free: 3.348 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/0.992, allocations: 38.42 kB / 1.275 GB, free: 3.32 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007636/0.9927, allocations: 94.22 kB / 1.276 GB, free: 3.27 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001907/0.9929, allocations: 99.16 kB / 1.276 GB, free: 3.203 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-05/0.993, allocations: 35.25 kB / 1.276 GB, free: 3.195 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007967/0.9938, allocations: 0.5689 MB / 1.276 GB, free: 2.863 MB / 1.123 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9938, allocations: 0 / 1.276 GB, free: 2.863 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001504/0.9953, allocations: 391.8 kB / 1.277 GB, free: 2.82 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.0002401/0.9956, allocations: 139.6 kB / 1.277 GB, free: 2.699 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.003869/0.9994, allocations: 2.404 MB / 1.279 GB, free: 1.082 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.964e-06/0.9994, allocations: 1.375 kB / 1.279 GB, free: 1.082 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002656/1.002, allocations: 1.581 MB / 1.281 GB, free: 15.83 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/1.004, allocations: 338.7 kB / 1.281 GB, free: 15.66 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005167/1.009, allocations: 2.805 MB / 1.284 GB, free: 13.92 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008896/1.01, allocations: 0.7379 MB / 1.284 GB, free: 13.52 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0009584/1.011, allocations: 354.2 kB / 1.285 GB, free: 13.37 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002737/1.011, allocations: 94.05 kB / 1.285 GB, free: 13.35 MB / 1.139 GB Notification: Performance of SimCode: time 6.91e-07/1.011, allocations: 0 / 1.285 GB, free: 13.35 MB / 1.139 GB Notification: Performance of Templates: time 0.03229/1.043, allocations: 17.33 MB / 1.302 GB, free: 13.25 MB / 1.154 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 -s ida -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: 9.620761552941985]