Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001398, allocations: 107 kB / 16.4 MB, free: 6.496 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00219/0.00219, allocations: 198.7 kB / 19.36 MB, free: 3.73 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.593/1.593, allocations: 222.9 MB / 245.1 MB, free: 14.99 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.639/2.639, allocations: 437 MB / 0.717 GB, free: 4.074 MB / 0.5762 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 63.91 kB / 1.027 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.149/1.151, allocations: 151.6 MB / 1.175 GB, free: 17.98 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02183/1.173, allocations: 20.26 MB / 1.195 GB, free: 4.316 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01121/1.184, allocations: 6.441 MB / 1.201 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002864/1.187, allocations: 86.69 kB / 1.201 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.006394/1.193, allocations: 2.249 MB / 1.203 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004435/1.198, allocations: 1.175 MB / 1.205 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003933/1.202, allocations: 1.283 MB / 1.206 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.007801/1.21, allocations: 4.865 MB / 1.211 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01076/1.22, allocations: 5.575 MB / 1.216 GB, free: 6.309 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005432/1.226, allocations: 2.085 MB / 1.218 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005638/1.232, allocations: 2.346 MB / 1.22 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.002063/1.234, allocations: 430 kB / 1.221 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004159/1.238, allocations: 1.001 MB / 1.222 GB, free: 3.348 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.003501/1.241, allocations: 1.661 MB / 1.223 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.005351/1.247, allocations: 1.92 MB / 1.225 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01061/1.257, allocations: 6.534 MB / 1.232 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.257, allocations: 0 / 1.232 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.855e-06/1.257, allocations: 0 / 1.232 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0002192/1.258, allocations: 4.906 kB / 1.232 GB, free: 12.21 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.009707/1.267, allocations: 3.541 MB / 1.235 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/1.267, allocations: 10.89 kB / 1.235 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003827/1.271, allocations: 0.6451 MB / 1.236 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004377/1.276, allocations: 2.059 MB / 1.238 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002122/1.276, allocations: 221.5 kB / 1.238 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006783/1.277, allocations: 300.8 kB / 1.238 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009826/1.286, allocations: 4.891 MB / 1.243 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.899e-05/1.287, allocations: 11.92 kB / 1.243 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003355/1.287, allocations: 124 kB / 1.243 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004819/1.287, allocations: 233.7 kB / 1.243 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007504/1.295, allocations: 3.758 MB / 1.247 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02592/1.321, allocations: 21.44 MB / 1.268 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001938/1.323, allocations: 1.3 MB / 1.269 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001532/1.324, allocations: 1.061 MB / 1.27 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.425e-05/1.324, allocations: 12.98 kB / 1.27 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/1.324, allocations: 47.56 kB / 1.27 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=107): time 2.645e-06/1.325, allocations: 0 / 1.27 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of matching and sorting (n=138): time 0.02571/1.35, allocations: 8.707 MB / 1.279 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/1.35, allocations: 68.72 kB / 1.279 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/1.352, allocations: 1.126 MB / 1.28 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001282/1.352, allocations: 49.7 kB / 1.28 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009943/1.353, allocations: 1.339 MB / 1.281 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004569/1.353, allocations: 499.7 kB / 1.282 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005174/1.354, allocations: 295.5 kB / 1.282 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001493/1.354, allocations: 305.1 kB / 1.282 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/1.356, allocations: 0.9135 MB / 1.283 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001684/1.357, allocations: 1.33 MB / 1.285 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003251/1.361, allocations: 2.418 MB / 1.287 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/1.361, allocations: 8 kB / 1.287 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006808/1.367, allocations: 3.468 MB / 1.29 GB, free: 48 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.74e-05/1.367, allocations: 14.66 kB / 1.29 GB, free: 36 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/1.367, allocations: 12.91 kB / 1.29 GB, free: 24 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003399/1.371, allocations: 1.181 MB / 1.292 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/1.372, allocations: 259.6 kB / 1.292 GB, free: 14.58 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02013/1.392, allocations: 13.86 MB / 1.305 GB, free: 320 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/1.394, allocations: 91.97 kB / 1.305 GB, free: 228 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/1.394, allocations: 60 kB / 1.306 GB, free: 168 kB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002384/1.396, allocations: 1.118 MB / 1.307 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004149/1.397, allocations: 171 kB / 1.307 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006511/1.403, allocations: 3.165 MB / 1.31 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/1.403, allocations: 16 kB / 1.31 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.146e-05/1.403, allocations: 19.94 kB / 1.31 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/1.404, allocations: 3.984 kB / 1.31 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01184/1.415, allocations: 6.249 MB / 1.316 GB, free: 5.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/1.415, allocations: 4 kB / 1.316 GB, free: 5.246 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006233/1.416, allocations: 159.7 kB / 1.316 GB, free: 5.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003053/1.419, allocations: 1.08 MB / 1.317 GB, free: 4.004 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/1.419, allocations: 24 kB / 1.317 GB, free: 3.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01973/1.439, allocations: 13.54 MB / 1.33 GB, free: 6.02 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/1.439, allocations: 8 kB / 1.33 GB, free: 6.012 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006312/1.445, allocations: 3.159 MB / 1.334 GB, free: 2.766 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/1.446, allocations: 431.9 kB / 1.334 GB, free: 2.324 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002236/1.447, allocations: 32.27 kB / 1.334 GB, free: 2.293 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008515/1.448, allocations: 87.89 kB / 1.334 GB, free: 2.207 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004222/1.448, allocations: 128.7 kB / 1.334 GB, free: 2.082 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001586/1.448, allocations: 40 kB / 1.334 GB, free: 2.043 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001171/1.449, allocations: 0.7671 MB / 1.335 GB, free: 1.273 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.6e-07/1.449, allocations: 0 / 1.335 GB, free: 1.273 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002415/1.452, allocations: 0.6562 MB / 1.336 GB, free: 0.6172 MB / 1.045 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002727/1.452, allocations: 147 kB / 1.336 GB, free: 476 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005629/1.458, allocations: 3.149 MB / 1.339 GB, free: 13.27 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/1.458, allocations: 0 / 1.339 GB, free: 13.27 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.003408/1.461, allocations: 1.955 MB / 1.341 GB, free: 11.28 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002484/1.464, allocations: 0.4909 MB / 1.341 GB, free: 10.8 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/1.477, allocations: 5.463 MB / 1.347 GB, free: 5.254 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003134/1.481, allocations: 2.34 MB / 1.349 GB, free: 2.887 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001287/1.482, allocations: 350.1 kB / 1.349 GB, free: 2.539 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/1.482, allocations: 87.44 kB / 1.349 GB, free: 2.453 MB / 1.061 GB Notification: Performance of SimCode: time 1.172e-06/1.482, allocations: 0 / 1.349 GB, free: 2.453 MB / 1.061 GB Notification: Performance of Templates: time 0.06391/1.546, allocations: 33.19 MB / 1.382 GB, free: 1.688 MB / 1.092 GB [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches