Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001213/0.001213, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.001436/0.001436, allocations: 160 kB / 23.01 MB, free: 4.602 MB / 14.72 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 1.438/1.438, allocations: 177.2 MB / 203.4 MB, free: 8.906 MB / 190.1 MB " [Timeout remaining time 178] 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 2.878/2.878, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 63.89 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.006, allocations: 181.8 MB / 1.187 GB, free: 16.24 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007826/1.014, allocations: 6.566 MB / 1.193 GB, free: 12.06 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.005331/1.02, allocations: 3.059 MB / 1.196 GB, free: 10.1 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007117/1.02, allocations: 40.19 kB / 1.196 GB, free: 10.07 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002519/1.023, allocations: 0.9569 MB / 1.197 GB, free: 9.527 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001485/1.024, allocations: 0.5179 MB / 1.197 GB, free: 9.215 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001335/1.026, allocations: 457.3 kB / 1.198 GB, free: 8.992 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001526/1.027, allocations: 1.228 MB / 1.199 GB, free: 8.43 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008704/1.028, allocations: 0.5283 MB / 1.2 GB, free: 8.184 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008453/1.029, allocations: 495.7 kB / 1.2 GB, free: 7.98 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008563/1.03, allocations: 0.5122 MB / 1.201 GB, free: 7.793 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001327/1.03, allocations: 67.06 kB / 1.201 GB, free: 7.793 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000912/1.031, allocations: 342.4 kB / 1.201 GB, free: 7.695 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003927/1.031, allocations: 314.8 kB / 1.201 GB, free: 7.562 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005052/1.032, allocations: 376 kB / 1.202 GB, free: 7.375 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001711/1.033, allocations: 1.245 MB / 1.203 GB, free: 6.938 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/1.033, allocations: 0 / 1.203 GB, free: 6.938 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.473e-06/1.033, allocations: 3.938 kB / 1.203 GB, free: 6.934 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.269e-05/1.033, allocations: 3.938 kB / 1.203 GB, free: 6.93 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001928/1.035, allocations: 1.109 MB / 1.204 GB, free: 6.207 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/1.035, allocations: 9.906 kB / 1.204 GB, free: 6.207 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001615/1.037, allocations: 243.9 kB / 1.204 GB, free: 6.152 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/1.038, allocations: 0.5426 MB / 1.205 GB, free: 5.816 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.794e-05/1.038, allocations: 54.58 kB / 1.205 GB, free: 5.785 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/1.038, allocations: 62.72 kB / 1.205 GB, free: 5.766 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/1.04, allocations: 1.342 MB / 1.206 GB, free: 4.832 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/1.04, allocations: 6.797 kB / 1.206 GB, free: 4.828 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.49e-05/1.04, allocations: 26 kB / 1.206 GB, free: 4.812 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001719/1.04, allocations: 83.73 kB / 1.206 GB, free: 4.805 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/1.041, allocations: 0.748 MB / 1.207 GB, free: 4.539 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00452/1.046, allocations: 4.534 MB / 1.211 GB, free: 0.9492 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009965/1.047, allocations: 0.5172 MB / 1.212 GB, free: 0.75 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000412/1.047, allocations: 287.9 kB / 1.212 GB, free: 0.6445 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.455e-05/1.047, allocations: 4.594 kB / 1.212 GB, free: 0.6406 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/1.047, allocations: 39.55 kB / 1.212 GB, free: 0.5977 MB / 1.076 GB Notification: Performance of pre-optimization done (n=47): time 2.495e-06/1.047, allocations: 0 / 1.212 GB, free: 0.5977 MB / 1.076 GB Notification: Performance of matching and sorting (n=48): time 0.004024/1.051, allocations: 1.689 MB / 1.214 GB, free: 15.91 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/1.051, allocations: 57.94 kB / 1.214 GB, free: 15.85 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007258/1.052, allocations: 0.5125 MB / 1.214 GB, free: 15.6 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.746e-05/1.052, allocations: 37.89 kB / 1.214 GB, free: 15.56 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004066/1.053, allocations: 424.6 kB / 1.215 GB, free: 15.22 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000182/1.053, allocations: 180.3 kB / 1.215 GB, free: 15.08 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002165/1.053, allocations: 128.8 kB / 1.215 GB, free: 15.01 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002424/1.053, allocations: 381.4 kB / 1.216 GB, free: 14.66 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004655/1.054, allocations: 270.5 kB / 1.216 GB, free: 14.57 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006801/1.054, allocations: 495.8 kB / 1.216 GB, free: 14.2 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/1.056, allocations: 0.808 MB / 1.217 GB, free: 13.67 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/1.056, allocations: 2.75 kB / 1.217 GB, free: 13.67 MB / 1.092 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00213/1.058, allocations: 1.071 MB / 1.218 GB, free: 13.21 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/1.058, allocations: 11.84 kB / 1.218 GB, free: 13.21 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/1.058, allocations: 7.344 kB / 1.218 GB, free: 13.21 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009367/1.059, allocations: 282.1 kB / 1.218 GB, free: 13.12 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000512/1.059, allocations: 125.8 kB / 1.219 GB, free: 13.11 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00768/1.067, allocations: 6.599 MB / 1.225 GB, free: 7.527 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007648/1.068, allocations: 40.05 kB / 1.225 GB, free: 7.516 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.936e-05/1.068, allocations: 30.75 kB / 1.225 GB, free: 7.508 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,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.0005015/1.068, allocations: 255 kB / 1.225 GB, free: 7.324 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/1.068, allocations: 66.53 kB / 1.225 GB, free: 7.293 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/1.07, allocations: 0.8783 MB / 1.226 GB, free: 6.906 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/1.07, allocations: 8.312 kB / 1.226 GB, free: 6.902 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/1.07, allocations: 5.141 kB / 1.226 GB, free: 6.902 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/1.07, allocations: 2.391 kB / 1.226 GB, free: 6.902 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003075/1.073, allocations: 1.529 MB / 1.228 GB, free: 6.137 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/1.073, allocations: 1.219 kB / 1.228 GB, free: 6.137 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002833/1.074, allocations: 68.19 kB / 1.228 GB, free: 6.125 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008058/1.074, allocations: 262.6 kB / 1.228 GB, free: 6.043 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.575e-05/1.074, allocations: 12.56 kB / 1.228 GB, free: 6.035 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007699/1.082, allocations: 6.587 MB / 1.234 GB, free: 484 kB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.082, allocations: 2.188 kB / 1.234 GB, free: 484 kB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/1.084, allocations: 0.9781 MB / 1.235 GB, free: 15.96 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004073/1.084, allocations: 114.8 kB / 1.236 GB, free: 15.9 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.802e-05/1.085, allocations: 16.78 kB / 1.236 GB, free: 15.89 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004194/1.085, allocations: 29.47 kB / 1.236 GB, free: 15.88 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/1.085, allocations: 45.27 kB / 1.236 GB, free: 15.87 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-05/1.085, allocations: 14.5 kB / 1.236 GB, free: 15.87 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0005422/1.086, allocations: 343.7 kB / 1.236 GB, free: 15.71 MB / 1.107 GB Notification: Performance of sort global known variables: time 9e-08/1.086, allocations: 1.125 kB / 1.236 GB, free: 15.71 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001033/1.087, allocations: 219.2 kB / 1.236 GB, free: 15.69 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002333/1.087, allocations: 120 kB / 1.236 GB, free: 15.58 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.00228/1.089, allocations: 1.241 MB / 1.238 GB, free: 14.85 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.089, allocations: 0 / 1.238 GB, free: 14.85 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001453/1.091, allocations: 0.8609 MB / 1.238 GB, free: 14.25 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/1.092, allocations: 209.1 kB / 1.239 GB, free: 14.17 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002883/1.095, allocations: 1.358 MB / 1.24 GB, free: 13.45 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006378/1.095, allocations: 416 kB / 1.24 GB, free: 13.32 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0004555/1.096, allocations: 112.4 kB / 1.24 GB, free: 13.29 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/1.096, allocations: 39.39 kB / 1.24 GB, free: 13.29 MB / 1.107 GB Notification: Performance of SimCode: time 7.11e-07/1.096, allocations: 1.312 kB / 1.24 GB, free: 13.29 MB / 1.107 GB Notification: Performance of Templates: time 0.02371/1.12, allocations: 11.36 MB / 1.252 GB, free: 9.117 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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: 9.291713421000168]