Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.0008413/0.0008413, allocations: 76.55 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.0008116/0.0008116, allocations: 177.9 kB / 23.22 MB, free: 1.332 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.8937/0.8937, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.742/1.742, allocations: 389 MB / 0.6338 GB, free: 12.69 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_L_N,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.369e-05, allocations: 6.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02753/0.02756, allocations: 33.01 MB / 1.033 GB, free: 11.89 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01241/0.03996, allocations: 11.37 MB / 1.044 GB, free: 500 kB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001678/0.04164, allocations: 214.4 kB / 1.044 GB, free: 284 kB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.4099/0.4515, allocations: 4.269 MB / 1.049 GB, free: 51.91 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003785/0.4553, allocations: 2.149 MB / 1.051 GB, free: 51.56 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003528/0.4589, allocations: 2.437 MB / 1.053 GB, free: 51.45 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.005422/0.4643, allocations: 8.606 MB / 1.062 GB, free: 50.29 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005353/0.4696, allocations: 6.194 MB / 1.068 GB, free: 47.77 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004649/0.4743, allocations: 5.397 MB / 1.073 GB, free: 45.46 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003006/0.4773, allocations: 3.898 MB / 1.077 GB, free: 44.53 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0009834/0.4783, allocations: 0.7784 MB / 1.077 GB, free: 44.53 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002595/0.4809, allocations: 1.931 MB / 1.079 GB, free: 44.26 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001875/0.4827, allocations: 3.276 MB / 1.082 GB, free: 42.89 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001913/0.4847, allocations: 2.374 MB / 1.085 GB, free: 41.83 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01214/0.4968, allocations: 12.23 MB / 1.097 GB, free: 38.38 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4968, allocations: 1.094 kB / 1.097 GB, free: 38.38 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.534e-06/0.4968, allocations: 0.75 kB / 1.097 GB, free: 38.38 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003052/0.4971, allocations: 0 / 1.097 GB, free: 38.38 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01084/0.5079, allocations: 5.806 MB / 1.102 GB, free: 35.18 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.508, allocations: 9.969 kB / 1.102 GB, free: 35.18 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003736/0.5117, allocations: 1.11 MB / 1.104 GB, free: 34.82 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00466/0.5164, allocations: 3.415 MB / 1.107 GB, free: 33.3 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002144/0.5166, allocations: 414.2 kB / 1.107 GB, free: 33.13 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006685/0.5173, allocations: 0.54 MB / 1.108 GB, free: 32.95 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01315/0.5304, allocations: 9.373 MB / 1.117 GB, free: 28.86 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001283/0.5305, allocations: 33.17 kB / 1.117 GB, free: 28.85 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004756/0.531, allocations: 238.9 kB / 1.117 GB, free: 28.68 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003236/0.5313, allocations: 357.1 kB / 1.118 GB, free: 28.64 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008983/0.5403, allocations: 6.818 MB / 1.124 GB, free: 26.37 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01994/0.5603, allocations: 24.22 MB / 1.148 GB, free: 9.977 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002117/0.5624, allocations: 2.301 MB / 1.15 GB, free: 8.738 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001575/0.564, allocations: 1.771 MB / 1.152 GB, free: 7.824 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.703e-05/0.564, allocations: 20.31 kB / 1.152 GB, free: 7.824 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.564, allocations: 51.34 kB / 1.152 GB, free: 7.77 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=179): time 4.448e-06/0.5641, allocations: 0 / 1.152 GB, free: 7.77 MB / 0.9948 GB Notification: Performance of matching and sorting (n=182): time 0.0136/0.5777, allocations: 9.675 MB / 1.161 GB, free: 2.457 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.5777, allocations: 69.97 kB / 1.161 GB, free: 2.395 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.5787, allocations: 1.447 MB / 1.163 GB, free: 1.594 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 7.696e-05/0.5788, allocations: 56.42 kB / 1.163 GB, free: 1.539 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006055/0.5794, allocations: 2.307 MB / 1.165 GB, free: 15.52 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003321/0.5797, allocations: 0.6545 MB / 1.166 GB, free: 14.96 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003876/0.5801, allocations: 405.8 kB / 1.166 GB, free: 14.73 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 6.55e-05/0.5802, allocations: 301.1 kB / 1.166 GB, free: 14.43 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.5812, allocations: 1.178 MB / 1.168 GB, free: 13.82 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/0.5826, allocations: 1.89 MB / 1.169 GB, free: 12.29 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002625/0.5852, allocations: 3.369 MB / 1.173 GB, free: 9.949 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/0.5852, allocations: 5.188 kB / 1.173 GB, free: 9.949 MB / 1.01 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004679/0.5899, allocations: 4.532 MB / 1.177 GB, free: 6.605 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.5899, allocations: 20.88 kB / 1.177 GB, free: 6.586 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.5899, allocations: 20 kB / 1.177 GB, free: 6.566 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002159/0.5921, allocations: 1.578 MB / 1.179 GB, free: 4.984 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000647/0.5927, allocations: 351.4 kB / 1.179 GB, free: 4.641 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0143/0.607, allocations: 17.82 MB / 1.196 GB, free: 2.426 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.6083, allocations: 115.9 kB / 1.197 GB, free: 2.312 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.6084, allocations: 102.9 kB / 1.197 GB, free: 2.215 MB / 1.026 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 (177): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002936/0.6113, allocations: 1.894 MB / 1.199 GB, free: 316 kB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002461/0.6115, allocations: 230.5 kB / 1.199 GB, free: 84 kB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004174/0.6157, allocations: 4.036 MB / 1.203 GB, free: 12.02 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.6157, allocations: 19.94 kB / 1.203 GB, free: 12 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.638e-05/0.6158, allocations: 16 kB / 1.203 GB, free: 11.98 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.6158, allocations: 11.97 kB / 1.203 GB, free: 11.97 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009069/0.6249, allocations: 7.829 MB / 1.21 GB, free: 4.055 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.6249, allocations: 4.062 kB / 1.21 GB, free: 4.051 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000431/0.6253, allocations: 187.7 kB / 1.211 GB, free: 3.867 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001881/0.6272, allocations: 1.358 MB / 1.212 GB, free: 2.5 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.818e-05/0.6273, allocations: 43.88 kB / 1.212 GB, free: 2.457 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01303/0.6403, allocations: 16.59 MB / 1.228 GB, free: 1.473 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.6403, allocations: 8 kB / 1.228 GB, free: 1.465 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00437/0.6447, allocations: 4.016 MB / 1.232 GB, free: 13.36 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007902/0.6455, allocations: 466.4 kB / 1.232 GB, free: 12.9 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.6456, allocations: 39.98 kB / 1.233 GB, free: 12.86 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005206/0.6461, allocations: 87.89 kB / 1.233 GB, free: 12.78 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003523/0.6465, allocations: 174 kB / 1.233 GB, free: 12.61 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.157e-05/0.6466, allocations: 48 kB / 1.233 GB, free: 12.56 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.000905/0.6475, allocations: 0.9193 MB / 1.234 GB, free: 11.65 MB / 1.073 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6475, allocations: 0 / 1.234 GB, free: 11.65 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.002664/0.6501, allocations: 0.9883 MB / 1.235 GB, free: 10.66 MB / 1.073 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002148/0.6504, allocations: 150.2 kB / 1.235 GB, free: 10.51 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.004315/0.6547, allocations: 4.156 MB / 1.239 GB, free: 6.352 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.6547, allocations: 0 / 1.239 GB, free: 6.352 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.002334/0.657, allocations: 2.573 MB / 1.241 GB, free: 3.734 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.6588, allocations: 0.7571 MB / 1.242 GB, free: 3.012 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/0.6698, allocations: 9.624 MB / 1.252 GB, free: 9.293 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002769/0.6726, allocations: 3.133 MB / 1.255 GB, free: 6.113 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003416/0.6729, allocations: 120.5 kB / 1.255 GB, free: 5.996 MB / 1.089 GB Notification: Performance of SimCode: time 9.01e-07/0.6729, allocations: 0 / 1.255 GB, free: 5.996 MB / 1.089 GB Notification: Performance of Templates: time 0.09923/0.7722, allocations: 161.2 MB / 1.412 GB, free: 4.875 MB / 1.245 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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: 13.583952200599015]