Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001987/0.001987, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.848/2.848, allocations: 496.2 MB / 0.7819 GB, free: 12.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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,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_3.load1.v.1.|load_sc_3.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.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,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_3.load1.v.1.|load_sc_3.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.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 59.91 kB / 1.136 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9901/0.9921, allocations: 173.6 MB / 1.305 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03587/1.028, allocations: 27.92 MB / 1.333 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01756/1.046, allocations: 8.343 MB / 1.341 GB, free: 5.883 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003837/1.049, allocations: 117.8 kB / 1.341 GB, free: 5.844 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.008393/1.058, allocations: 2.865 MB / 1.344 GB, free: 3.652 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005959/1.064, allocations: 1.668 MB / 1.345 GB, free: 2.277 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006024/1.07, allocations: 1.735 MB / 1.347 GB, free: 0.8516 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01028/1.08, allocations: 6.135 MB / 1.353 GB, free: 13.33 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009281/1.089, allocations: 3.594 MB / 1.357 GB, free: 11.05 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005977/1.095, allocations: 2.621 MB / 1.359 GB, free: 9.531 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006495/1.102, allocations: 2.997 MB / 1.362 GB, free: 7.66 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002178/1.104, allocations: 0.5088 MB / 1.363 GB, free: 7.66 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004781/1.109, allocations: 1.302 MB / 1.364 GB, free: 7.23 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.004611/1.113, allocations: 2.111 MB / 1.366 GB, free: 5.855 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.007451/1.121, allocations: 2.378 MB / 1.368 GB, free: 4.195 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01386/1.135, allocations: 8.085 MB / 1.376 GB, free: 13.12 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/1.135, allocations: 0 / 1.376 GB, free: 13.12 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.933e-06/1.135, allocations: 0 / 1.376 GB, free: 13.12 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002947/1.135, allocations: 0 / 1.376 GB, free: 13.12 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01238/1.147, allocations: 4.328 MB / 1.38 GB, free: 8.719 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/1.147, allocations: 8.031 kB / 1.38 GB, free: 8.711 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005237/1.153, allocations: 0.8296 MB / 1.381 GB, free: 7.879 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006201/1.159, allocations: 2.586 MB / 1.384 GB, free: 5.238 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003187/1.159, allocations: 275.6 kB / 1.384 GB, free: 4.969 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001577/1.161, allocations: 376.5 kB / 1.384 GB, free: 4.602 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01394/1.175, allocations: 5.992 MB / 1.39 GB, free: 14.36 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001982/1.175, allocations: 35.73 kB / 1.39 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001184/1.176, allocations: 156 kB / 1.39 GB, free: 14.17 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006755/1.177, allocations: 282.9 kB / 1.391 GB, free: 13.89 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009523/1.186, allocations: 4.52 MB / 1.395 GB, free: 9.363 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03669/1.223, allocations: 27.5 MB / 1.422 GB, free: 11.36 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002425/1.225, allocations: 1.061 MB / 1.423 GB, free: 10.29 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001686/1.227, allocations: 0.9681 MB / 1.424 GB, free: 9.324 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/1.227, allocations: 9 kB / 1.424 GB, free: 9.316 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.572e-05/1.227, allocations: 51.5 kB / 1.424 GB, free: 9.258 MB / 1.107 GB Notification: Performance of pre-optimization done (n=110): time 4.058e-06/1.227, allocations: 0 / 1.424 GB, free: 9.258 MB / 1.107 GB Notification: Performance of matching and sorting (n=131): time 0.02359/1.251, allocations: 9.696 MB / 1.433 GB, free: 15.36 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/1.251, allocations: 68.72 kB / 1.433 GB, free: 15.28 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002448/1.253, allocations: 1.498 MB / 1.435 GB, free: 13.78 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001409/1.253, allocations: 45.7 kB / 1.435 GB, free: 13.73 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001338/1.255, allocations: 1.711 MB / 1.437 GB, free: 12 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000502/1.255, allocations: 499.7 kB / 1.437 GB, free: 11.51 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006301/1.256, allocations: 335.4 kB / 1.437 GB, free: 11.17 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001202/1.256, allocations: 305.1 kB / 1.438 GB, free: 10.87 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/1.258, allocations: 0.9213 MB / 1.439 GB, free: 9.949 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001916/1.259, allocations: 1.455 MB / 1.44 GB, free: 8.254 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003546/1.263, allocations: 2.546 MB / 1.443 GB, free: 5.465 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.576e-05/1.263, allocations: 8 kB / 1.443 GB, free: 5.457 MB / 1.123 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006241/1.269, allocations: 3.271 MB / 1.446 GB, free: 2.148 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/1.269, allocations: 14.19 kB / 1.446 GB, free: 2.137 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.691e-05/1.269, allocations: 20 kB / 1.446 GB, free: 2.117 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002447/1.272, allocations: 0.7413 MB / 1.446 GB, free: 1.348 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/1.273, allocations: 387.4 kB / 1.447 GB, free: 0.9688 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01822/1.292, allocations: 17.05 MB / 1.464 GB, free: 14.65 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/1.293, allocations: 95.91 kB / 1.464 GB, free: 14.56 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003137/1.294, allocations: 80 kB / 1.464 GB, free: 14.48 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.002775/1.296, allocations: 1.309 MB / 1.465 GB, free: 13.16 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006667/1.297, allocations: 210.7 kB / 1.465 GB, free: 12.95 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00577/1.303, allocations: 2.769 MB / 1.468 GB, free: 10.14 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/1.303, allocations: 12 kB / 1.468 GB, free: 10.13 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.666e-05/1.303, allocations: 12 kB / 1.468 GB, free: 10.12 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/1.303, allocations: 7.969 kB / 1.468 GB, free: 10.11 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01319/1.316, allocations: 6.193 MB / 1.474 GB, free: 3.754 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/1.316, allocations: 8 kB / 1.474 GB, free: 3.746 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/1.317, allocations: 231.6 kB / 1.474 GB, free: 3.52 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002163/1.319, allocations: 0.6638 MB / 1.475 GB, free: 2.828 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001271/1.32, allocations: 35.98 kB / 1.475 GB, free: 2.793 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01874/1.338, allocations: 16.79 MB / 1.491 GB, free: 0.7344 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.534e-05/1.338, allocations: 11.88 kB / 1.491 GB, free: 0.7227 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009357/1.348, allocations: 3.994 MB / 1.495 GB, free: 12.61 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001649/1.349, allocations: 463.7 kB / 1.496 GB, free: 12.14 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006585/1.35, allocations: 40.06 kB / 1.496 GB, free: 12.1 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/1.351, allocations: 79.89 kB / 1.496 GB, free: 12.02 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004322/1.352, allocations: 124.7 kB / 1.496 GB, free: 11.9 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/1.352, allocations: 39.94 kB / 1.496 GB, free: 11.86 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001943/1.354, allocations: 0.9903 MB / 1.497 GB, free: 10.88 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/1.354, allocations: 0 / 1.497 GB, free: 10.88 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002965/1.357, allocations: 0.6875 MB / 1.498 GB, free: 10.2 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003514/1.357, allocations: 155 kB / 1.498 GB, free: 10.03 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.005964/1.363, allocations: 3.377 MB / 1.501 GB, free: 6.539 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/1.363, allocations: 4 kB / 1.501 GB, free: 6.535 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.003496/1.367, allocations: 2.241 MB / 1.503 GB, free: 4.18 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003055/1.37, allocations: 0.6747 MB / 1.504 GB, free: 3.527 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/1.382, allocations: 6.651 MB / 1.51 GB, free: 12.79 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00298/1.385, allocations: 2.656 MB / 1.513 GB, free: 10.1 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001641/1.386, allocations: 489.4 kB / 1.513 GB, free: 9.617 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003366/1.387, allocations: 119.4 kB / 1.513 GB, free: 9.5 MB / 1.201 GB Notification: Performance of SimCode: time 2.014e-06/1.387, allocations: 0 / 1.513 GB, free: 9.5 MB / 1.201 GB Notification: Performance of Templates: time 0.06739/1.454, allocations: 35.14 MB / 1.548 GB, free: 6.852 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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: 10.355584162287414]