Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008357/0.0008357, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008498/0.0008498, allocations: 173.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.8879/0.8879, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.788/1.788, 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_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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.22e-05/2.369e-05, allocations: 2.281 kB / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01451/0.01454, allocations: 19.13 MB / 1.02 GB, free: 9.773 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.008032/0.02257, allocations: 6.386 MB / 1.026 GB, free: 3.371 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001742/0.02431, allocations: 111.2 kB / 1.026 GB, free: 3.262 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.003001/0.02731, allocations: 2.255 MB / 1.028 GB, free: 1 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.002374/0.02968, allocations: 1.278 MB / 1.029 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002425/0.03211, allocations: 1.307 MB / 1.031 GB, free: 14.41 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.004176/0.03629, allocations: 4.939 MB / 1.035 GB, free: 9.453 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003574/0.03986, allocations: 3.166 MB / 1.039 GB, free: 6.219 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003336/0.0432, allocations: 3.005 MB / 1.042 GB, free: 3.207 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002147/0.04534, allocations: 2.186 MB / 1.044 GB, free: 1.016 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0008309/0.04617, allocations: 428 kB / 1.044 GB, free: 0.5977 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4233/0.4695, allocations: 0.96 MB / 1.045 GB, free: 54.79 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001531/0.471, allocations: 1.784 MB / 1.047 GB, free: 54.79 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001157/0.4722, allocations: 1.333 MB / 1.048 GB, free: 54.79 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.00361/0.4758, allocations: 6.649 MB / 1.055 GB, free: 54.58 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4758, allocations: 0 / 1.055 GB, free: 54.58 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4758, allocations: 0 / 1.055 GB, free: 54.58 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.875e-05/0.4759, allocations: 0 / 1.055 GB, free: 54.58 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.003783/0.4797, allocations: 3.428 MB / 1.058 GB, free: 53.22 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.4797, allocations: 9.531 kB / 1.058 GB, free: 53.22 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001731/0.4815, allocations: 0.6605 MB / 1.059 GB, free: 53.04 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00215/0.4836, allocations: 1.995 MB / 1.06 GB, free: 52.6 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.759e-05/0.4837, allocations: 226.9 kB / 1.061 GB, free: 52.59 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002905/0.484, allocations: 288.1 kB / 1.061 GB, free: 52.59 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004347/0.4883, allocations: 5.247 MB / 1.066 GB, free: 51.35 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.44e-05/0.4884, allocations: 9.688 kB / 1.066 GB, free: 51.35 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002063/0.4886, allocations: 125.7 kB / 1.066 GB, free: 51.26 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002187/0.4888, allocations: 232.3 kB / 1.066 GB, free: 51.23 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003381/0.4922, allocations: 3.749 MB / 1.07 GB, free: 49.98 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01014/0.5023, allocations: 13.08 MB / 1.083 GB, free: 41.68 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.5036, allocations: 1.229 MB / 1.084 GB, free: 41.22 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009695/0.5045, allocations: 0.984 MB / 1.085 GB, free: 40.86 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.152e-05/0.5046, allocations: 11.94 kB / 1.085 GB, free: 40.86 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.5046, allocations: 49.31 kB / 1.085 GB, free: 40.81 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=107): time 3.908e-06/0.5046, allocations: 0 / 1.085 GB, free: 40.81 MB / 0.9948 GB Notification: Performance of matching and sorting (n=138): time 0.01413/0.5187, allocations: 8.423 MB / 1.093 GB, free: 38.29 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.5188, allocations: 73.23 kB / 1.093 GB, free: 38.22 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.5199, allocations: 1.063 MB / 1.094 GB, free: 37.78 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 7.269e-05/0.52, allocations: 47.23 kB / 1.094 GB, free: 37.73 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005351/0.5205, allocations: 1.34 MB / 1.096 GB, free: 36.71 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002501/0.5208, allocations: 0.4891 MB / 1.096 GB, free: 36.33 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003131/0.5211, allocations: 294.7 kB / 1.097 GB, free: 36.18 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.734e-05/0.5211, allocations: 303 kB / 1.097 GB, free: 35.89 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009326/0.522, allocations: 0.9131 MB / 1.098 GB, free: 35.55 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.5231, allocations: 1.33 MB / 1.099 GB, free: 34.72 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002103/0.5252, allocations: 2.428 MB / 1.101 GB, free: 33.4 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.816e-06/0.5252, allocations: 3.719 kB / 1.101 GB, free: 33.4 MB / 0.9948 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004083/0.5293, allocations: 3.422 MB / 1.105 GB, free: 32.16 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.5293, allocations: 9.656 kB / 1.105 GB, free: 32.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.5293, allocations: 12.47 kB / 1.105 GB, free: 32.16 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002019/0.5314, allocations: 1.18 MB / 1.106 GB, free: 31.86 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005893/0.532, allocations: 259.2 kB / 1.106 GB, free: 31.85 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01106/0.543, allocations: 13.26 MB / 1.119 GB, free: 23.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.544, allocations: 92.69 kB / 1.119 GB, free: 23.95 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.323e-05/0.5441, allocations: 63.55 kB / 1.119 GB, free: 23.94 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.001684/0.5458, allocations: 1.118 MB / 1.12 GB, free: 23.43 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.546, allocations: 160.1 kB / 1.121 GB, free: 23.35 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003628/0.5496, allocations: 3.131 MB / 1.124 GB, free: 22.12 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.5496, allocations: 14.53 kB / 1.124 GB, free: 22.12 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/0.5496, allocations: 11.47 kB / 1.124 GB, free: 22.12 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.5497, allocations: 6.844 kB / 1.124 GB, free: 22.12 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006854/0.5565, allocations: 5.461 MB / 1.129 GB, free: 19.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.5565, allocations: 6.344 kB / 1.129 GB, free: 19.93 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000355/0.5569, allocations: 150 kB / 1.129 GB, free: 19.92 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001763/0.5586, allocations: 1.076 MB / 1.13 GB, free: 19.63 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-05/0.5587, allocations: 30.03 kB / 1.13 GB, free: 19.61 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01034/0.569, allocations: 12.95 MB / 1.143 GB, free: 11.86 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.569, allocations: 7.625 kB / 1.143 GB, free: 11.86 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003336/0.5724, allocations: 3.105 MB / 1.146 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005315/0.5729, allocations: 342.4 kB / 1.146 GB, free: 10.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.573, allocations: 30.22 kB / 1.146 GB, free: 10.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004305/0.5734, allocations: 87.45 kB / 1.146 GB, free: 10.3 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000249/0.5737, allocations: 129.9 kB / 1.146 GB, free: 10.28 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.857e-05/0.5737, allocations: 37.5 kB / 1.146 GB, free: 10.27 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0006897/0.5744, allocations: 0.707 MB / 1.147 GB, free: 9.984 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5744, allocations: 0 / 1.147 GB, free: 9.984 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.00169/0.5761, allocations: 0.6555 MB / 1.148 GB, free: 9.926 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.0001839/0.5763, allocations: 136.2 kB / 1.148 GB, free: 9.812 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00306/0.5794, allocations: 3.015 MB / 1.151 GB, free: 8.52 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.5794, allocations: 2.125 kB / 1.151 GB, free: 8.52 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001688/0.5811, allocations: 1.877 MB / 1.153 GB, free: 7.594 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.5824, allocations: 492.3 kB / 1.153 GB, free: 7.426 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006435/0.5888, allocations: 5.921 MB / 1.159 GB, free: 4.699 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001481/0.5903, allocations: 1.818 MB / 1.161 GB, free: 4.195 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002344/0.5905, allocations: 93.41 kB / 1.161 GB, free: 4.184 MB / 0.9948 GB Notification: Performance of SimCode: time 1.332e-06/0.5905, allocations: 0 / 1.161 GB, free: 4.184 MB / 0.9948 GB Notification: Performance of Templates: time 0.0543/0.6448, allocations: 80.26 MB / 1.239 GB, free: 8.848 MB / 1.073 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.005167666822672]