Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.0008708/0.0008708, allocations: 76.55 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.0008075/0.0008075, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8639/0.8639, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.709/1.709, allocations: 377.9 MB / 0.6228 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_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=2500,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.574e-05/3.826e-05, allocations: 5.516 kB / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.0212/0.02123, allocations: 19.14 MB / 1.001 GB, free: 14.86 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.009745/0.03098, allocations: 6.383 MB / 1.007 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009203/0.0319, allocations: 111.2 kB / 1.007 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.002587/0.03449, allocations: 2.265 MB / 1.009 GB, free: 6.086 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.001933/0.03642, allocations: 1.27 MB / 1.011 GB, free: 4.809 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002214/0.03863, allocations: 1.303 MB / 1.012 GB, free: 3.504 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.003414/0.04205, allocations: 4.943 MB / 1.017 GB, free: 14.55 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002601/0.04465, allocations: 3.166 MB / 1.02 GB, free: 11.31 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002737/0.04739, allocations: 3.009 MB / 1.023 GB, free: 8.293 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001763/0.04915, allocations: 2.19 MB / 1.025 GB, free: 6.098 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.00031/0.04946, allocations: 432 kB / 1.025 GB, free: 5.676 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.0507, allocations: 0.9592 MB / 1.026 GB, free: 4.715 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0009642/0.05167, allocations: 1.789 MB / 1.028 GB, free: 2.922 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0009195/0.05259, allocations: 1.333 MB / 1.029 GB, free: 1.586 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.004152/0.05674, allocations: 6.642 MB / 1.036 GB, free: 10.93 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.05674, allocations: 0 / 1.036 GB, free: 10.93 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.773e-06/0.05675, allocations: 0 / 1.036 GB, free: 10.93 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.444e-05/0.05678, allocations: 0 / 1.036 GB, free: 10.93 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.003533/0.06031, allocations: 3.43 MB / 1.039 GB, free: 7.445 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.06036, allocations: 15.97 kB / 1.039 GB, free: 7.43 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/0.06198, allocations: 0.6546 MB / 1.04 GB, free: 6.773 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002075/0.06405, allocations: 2.001 MB / 1.042 GB, free: 4.723 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.06416, allocations: 222.3 kB / 1.042 GB, free: 4.504 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002877/0.06444, allocations: 292.3 kB / 1.042 GB, free: 4.219 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5097/0.5741, allocations: 5.236 MB / 1.047 GB, free: 97.27 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.726e-05/0.5742, allocations: 20.05 kB / 1.047 GB, free: 97.27 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002107/0.5744, allocations: 125.4 kB / 1.048 GB, free: 97.23 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002695/0.5747, allocations: 234 kB / 1.048 GB, free: 97.21 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003701/0.5784, allocations: 3.746 MB / 1.051 GB, free: 95.92 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008718/0.5871, allocations: 13.08 MB / 1.064 GB, free: 87.68 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009789/0.5881, allocations: 1.232 MB / 1.065 GB, free: 87.23 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008/0.5889, allocations: 0.9856 MB / 1.066 GB, free: 86.87 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.01e-05/0.5889, allocations: 12.47 kB / 1.066 GB, free: 86.87 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.589, allocations: 45.31 kB / 1.066 GB, free: 86.82 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=107): time 3.677e-06/0.589, allocations: 0 / 1.066 GB, free: 86.82 MB / 0.9948 GB Notification: Performance of matching and sorting (n=138): time 0.01157/0.6006, allocations: 8.411 MB / 1.075 GB, free: 84.41 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.6006, allocations: 70.16 kB / 1.075 GB, free: 84.35 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007329/0.6013, allocations: 1.068 MB / 1.076 GB, free: 83.93 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.605e-05/0.6014, allocations: 47.02 kB / 1.076 GB, free: 83.88 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000361/0.6017, allocations: 1.349 MB / 1.077 GB, free: 82.99 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/0.6019, allocations: 495 kB / 1.078 GB, free: 82.61 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002667/0.6022, allocations: 291 kB / 1.078 GB, free: 82.46 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.564e-05/0.6022, allocations: 305.1 kB / 1.078 GB, free: 82.16 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/0.6032, allocations: 0.9086 MB / 1.079 GB, free: 81.82 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/0.6046, allocations: 1.327 MB / 1.08 GB, free: 81 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002194/0.6068, allocations: 2.427 MB / 1.083 GB, free: 79.62 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.6068, allocations: 3.281 kB / 1.083 GB, free: 79.62 MB / 0.9948 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004024/0.6108, allocations: 3.421 MB / 1.086 GB, free: 78.27 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.27e-05/0.6108, allocations: 12.44 kB / 1.086 GB, free: 78.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/0.6108, allocations: 12.41 kB / 1.086 GB, free: 78.27 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002042/0.6129, allocations: 1.181 MB / 1.087 GB, free: 77.97 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005824/0.6135, allocations: 261.5 kB / 1.087 GB, free: 77.94 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01287/0.6263, allocations: 13.25 MB / 1.1 GB, free: 70.04 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008415/0.6272, allocations: 96.08 kB / 1.101 GB, free: 70.01 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.6273, allocations: 62.91 kB / 1.101 GB, free: 70 MB / 0.9948 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.002003/0.6293, allocations: 1.112 MB / 1.102 GB, free: 69.48 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/0.6294, allocations: 160.8 kB / 1.102 GB, free: 69.4 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004056/0.6335, allocations: 3.138 MB / 1.105 GB, free: 68.12 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.6335, allocations: 14.03 kB / 1.105 GB, free: 68.12 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/0.6335, allocations: 12.03 kB / 1.105 GB, free: 68.12 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/0.6335, allocations: 6.75 kB / 1.105 GB, free: 68.12 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007556/0.6411, allocations: 5.471 MB / 1.11 GB, free: 65.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/0.6411, allocations: 7.312 kB / 1.11 GB, free: 65.85 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003619/0.6415, allocations: 147.9 kB / 1.11 GB, free: 65.84 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001963/0.6434, allocations: 1.071 MB / 1.111 GB, free: 65.55 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-05/0.6435, allocations: 26.48 kB / 1.111 GB, free: 65.54 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01197/0.6555, allocations: 12.96 MB / 1.124 GB, free: 57.75 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.6555, allocations: 4.75 kB / 1.124 GB, free: 57.75 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003464/0.6589, allocations: 3.104 MB / 1.127 GB, free: 56.36 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005049/0.6595, allocations: 346 kB / 1.127 GB, free: 56.19 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.6596, allocations: 28.73 kB / 1.128 GB, free: 56.17 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004246/0.66, allocations: 83.12 kB / 1.128 GB, free: 56.15 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002477/0.6602, allocations: 130.6 kB / 1.128 GB, free: 56.12 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.929e-05/0.6603, allocations: 37.16 kB / 1.128 GB, free: 56.12 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0007108/0.661, allocations: 0.7048 MB / 1.128 GB, free: 55.83 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.6e-07/0.661, allocations: 1.156 kB / 1.128 GB, free: 55.83 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001605/0.6626, allocations: 0.6591 MB / 1.129 GB, free: 55.77 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 (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.0001818/0.6628, allocations: 143.3 kB / 1.129 GB, free: 55.64 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003112/0.6659, allocations: 3.01 MB / 1.132 GB, free: 54.29 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.6659, allocations: 5.125 kB / 1.132 GB, free: 54.28 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001763/0.6677, allocations: 1.875 MB / 1.134 GB, free: 53.32 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.6689, allocations: 477.8 kB / 1.134 GB, free: 53.17 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006747/0.6756, allocations: 5.937 MB / 1.14 GB, free: 50.42 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001903/0.6775, allocations: 1.815 MB / 1.142 GB, free: 49.92 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002132/0.6777, allocations: 90.94 kB / 1.142 GB, free: 49.91 MB / 0.9948 GB Notification: Performance of SimCode: time 1.212e-06/0.6777, allocations: 1.125 kB / 1.142 GB, free: 49.91 MB / 0.9948 GB Notification: Performance of Templates: time 0.0522/0.7299, allocations: 80.26 MB / 1.22 GB, free: 8.438 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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 [Calling sys.exit(0), Time elapsed: 12.390597225166857]