Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.000815/0.000815, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007935/0.0007935, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8927/0.8927, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.679/1.679, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.9517 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.546e-05/1.707e-05, allocations: 2.281 kB / 0.9517 GB, free: 3 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02228/0.0223, allocations: 30.83 MB / 0.9819 GB, free: 4.059 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01207/0.03437, allocations: 10.15 MB / 0.9918 GB, free: 9.883 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/0.03586, allocations: 194.6 kB / 0.992 GB, free: 9.691 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.003941/0.0398, allocations: 3.741 MB / 0.9956 GB, free: 5.941 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.002913/0.04272, allocations: 2 MB / 0.9976 GB, free: 3.93 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003327/0.04604, allocations: 2.165 MB / 0.9997 GB, free: 1.766 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.005136/0.05118, allocations: 7.457 MB / 1.007 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004195/0.05538, allocations: 5.124 MB / 1.012 GB, free: 5.043 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004048/0.05942, allocations: 4.596 MB / 1.016 GB, free: 448 kB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002523/0.06195, allocations: 3.238 MB / 1.02 GB, free: 13.19 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0007684/0.06271, allocations: 0.6445 MB / 1.02 GB, free: 12.55 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002009/0.06472, allocations: 1.68 MB / 1.022 GB, free: 10.86 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.001437/0.06616, allocations: 2.724 MB / 1.025 GB, free: 8.133 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.001478/0.06764, allocations: 2.016 MB / 1.027 GB, free: 6.113 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.006904/0.07454, allocations: 10.31 MB / 1.037 GB, free: 11.78 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.07455, allocations: 0 / 1.037 GB, free: 11.78 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.653e-06/0.07455, allocations: 0 / 1.037 GB, free: 11.78 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001082/0.07466, allocations: 0 / 1.037 GB, free: 11.78 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.005915/0.08057, allocations: 4.999 MB / 1.041 GB, free: 6.719 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.08062, allocations: 8.031 kB / 1.041 GB, free: 6.711 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002633/0.08325, allocations: 0.993 MB / 1.042 GB, free: 5.715 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003246/0.08649, allocations: 3.002 MB / 1.045 GB, free: 2.641 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.08665, allocations: 345.7 kB / 1.046 GB, free: 2.301 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004485/0.08709, allocations: 468.2 kB / 1.046 GB, free: 1.844 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.498/0.5851, allocations: 7.964 MB / 1.054 GB, free: 123.9 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-05/0.5852, allocations: 28.08 kB / 1.054 GB, free: 123.9 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002898/0.5855, allocations: 201 kB / 1.054 GB, free: 123.8 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001911/0.5857, allocations: 310.2 kB / 1.054 GB, free: 123.7 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005018/0.5907, allocations: 5.703 MB / 1.06 GB, free: 121.7 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01344/0.6041, allocations: 21.88 MB / 1.081 GB, free: 107 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.6055, allocations: 1.55 MB / 1.083 GB, free: 106.4 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000843/0.6063, allocations: 1.129 MB / 1.084 GB, free: 106 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.579e-05/0.6064, allocations: 14.41 kB / 1.084 GB, free: 106 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.6064, allocations: 45.28 kB / 1.084 GB, free: 105.9 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=133): time 3.587e-06/0.6064, allocations: 0 / 1.084 GB, free: 105.9 MB / 0.9948 GB Notification: Performance of matching and sorting (n=136): time 0.008171/0.6146, allocations: 6.197 MB / 1.09 GB, free: 103.5 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.6146, allocations: 66.72 kB / 1.09 GB, free: 103.4 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.6158, allocations: 1.402 MB / 1.092 GB, free: 102.9 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.504e-05/0.6158, allocations: 46.52 kB / 1.092 GB, free: 102.8 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000667/0.6165, allocations: 2.061 MB / 1.094 GB, free: 101.5 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002296/0.6167, allocations: 0.4942 MB / 1.094 GB, free: 101.1 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003343/0.6171, allocations: 345.9 kB / 1.094 GB, free: 100.9 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.159e-05/0.6171, allocations: 302.2 kB / 1.095 GB, free: 100.6 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008537/0.6179, allocations: 0.9154 MB / 1.096 GB, free: 100.3 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.619, allocations: 1.596 MB / 1.097 GB, free: 99.08 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002169/0.6212, allocations: 2.735 MB / 1.1 GB, free: 97.29 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.6212, allocations: 6.875 kB / 1.1 GB, free: 97.29 MB / 0.9948 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.003864/0.6251, allocations: 3.499 MB / 1.103 GB, free: 95.83 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/0.6251, allocations: 19.09 kB / 1.103 GB, free: 95.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.551e-05/0.6251, allocations: 22.77 kB / 1.103 GB, free: 95.82 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001477/0.6266, allocations: 0.9046 MB / 1.104 GB, free: 95.51 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007042/0.6273, allocations: 348.8 kB / 1.104 GB, free: 95.48 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/0.6389, allocations: 21.45 MB / 1.125 GB, free: 77.62 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.6401, allocations: 103.8 kB / 1.126 GB, free: 77.59 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.6402, allocations: 86.36 kB / 1.126 GB, free: 77.57 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002514/0.6427, allocations: 1.614 MB / 1.127 GB, free: 76.85 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.6429, allocations: 205.2 kB / 1.127 GB, free: 76.74 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003401/0.6463, allocations: 2.969 MB / 1.13 GB, free: 75.46 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.6463, allocations: 13.19 kB / 1.13 GB, free: 75.46 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/0.6463, allocations: 10.27 kB / 1.13 GB, free: 75.46 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.6464, allocations: 6.141 kB / 1.13 GB, free: 75.46 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007535/0.6539, allocations: 6.005 MB / 1.136 GB, free: 72.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.6539, allocations: 4.062 kB / 1.136 GB, free: 72.93 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004621/0.6544, allocations: 174.7 kB / 1.136 GB, free: 72.92 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001383/0.6557, allocations: 0.8152 MB / 1.137 GB, free: 72.63 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.892e-05/0.6558, allocations: 30.59 kB / 1.137 GB, free: 72.61 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01024/0.666, allocations: 20.31 MB / 1.157 GB, free: 55.48 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.6661, allocations: 9.188 kB / 1.157 GB, free: 55.47 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00352/0.6696, allocations: 2.994 MB / 1.16 GB, free: 54.05 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006087/0.6702, allocations: 376.2 kB / 1.16 GB, free: 53.85 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.6703, allocations: 27.83 kB / 1.16 GB, free: 53.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004358/0.6707, allocations: 73.44 kB / 1.16 GB, free: 53.82 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003275/0.6711, allocations: 131 kB / 1.161 GB, free: 53.79 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.314e-05/0.6711, allocations: 39.91 kB / 1.161 GB, free: 53.78 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0009689/0.6721, allocations: 0.8934 MB / 1.161 GB, free: 53.44 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4e-08/0.6721, allocations: 0 / 1.161 GB, free: 53.44 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002543/0.6746, allocations: 0.7932 MB / 1.162 GB, free: 53.37 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001748/0.6748, allocations: 141.6 kB / 1.162 GB, free: 53.25 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003398/0.6782, allocations: 3.914 MB / 1.166 GB, free: 50.92 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.6782, allocations: 1.906 kB / 1.166 GB, free: 50.92 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001714/0.6799, allocations: 2.667 MB / 1.169 GB, free: 49.05 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/0.6814, allocations: 0.7089 MB / 1.169 GB, free: 48.82 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007276/0.6887, allocations: 7.955 MB / 1.177 GB, free: 43.71 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001757/0.6905, allocations: 2.637 MB / 1.18 GB, free: 41.49 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002162/0.6907, allocations: 120.5 kB / 1.18 GB, free: 41.37 MB / 0.9948 GB Notification: Performance of SimCode: time 1.102e-06/0.6907, allocations: 4 kB / 1.18 GB, free: 41.37 MB / 0.9948 GB Notification: Performance of Templates: time 0.1701/0.8608, allocations: 323 MB / 1.495 GB, free: 6.062 MB / 1.276 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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: 14.503951476886868]