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.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.001395/0.001395, allocations: 81.06 kB / 19.18 MB, free: 2.527 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.001522/0.001522, allocations: 167.7 kB / 22.46 MB, free: 5.359 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.434/1.434, allocations: 177.1 MB / 202.8 MB, free: 9.172 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.89/2.89, allocations: 389 MB / 0.633 GB, free: 1.027 MB / 0.5919 GB " [Timeout remaining time 176] 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,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 1.693e-06/1.693e-06, allocations: 0 / 1 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.754e-05, allocations: 9.734 kB / 1 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.034/0.03402, allocations: 25.06 MB / 1.025 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01551/0.04953, allocations: 7.973 MB / 1.032 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002248/0.05178, allocations: 154.8 kB / 1.033 GB, free: 6 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.008045/0.05983, allocations: 2.785 MB / 1.035 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004861/0.06469, allocations: 1.713 MB / 1.037 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005228/0.06991, allocations: 1.701 MB / 1.039 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008675/0.07859, allocations: 6.262 MB / 1.045 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006967/0.08556, allocations: 3.758 MB / 1.048 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008061/0.09362, allocations: 3.73 MB / 1.052 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00488/0.0985, allocations: 2.638 MB / 1.055 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001287/0.09979, allocations: 0.5078 MB / 1.055 GB, free: 14.76 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003071/0.1029, allocations: 1.216 MB / 1.056 GB, free: 13.54 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002972/0.1058, allocations: 2.198 MB / 1.058 GB, free: 11.34 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002841/0.1087, allocations: 1.653 MB / 1.06 GB, free: 9.68 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.009491/0.1182, allocations: 8.212 MB / 1.068 GB, free: 1.445 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1182, allocations: 0 / 1.068 GB, free: 1.445 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1182, allocations: 0 / 1.068 GB, free: 1.445 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001383/0.1183, allocations: 0 / 1.068 GB, free: 1.445 MB / 1.014 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.008799/0.1271, allocations: 4.216 MB / 1.072 GB, free: 13.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.1271, allocations: 12.03 kB / 1.072 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004633/0.1318, allocations: 0.8336 MB / 1.073 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005935/0.1377, allocations: 2.521 MB / 1.075 GB, free: 9.746 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002471/0.138, allocations: 275.6 kB / 1.076 GB, free: 9.477 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001061/0.139, allocations: 372.8 kB / 1.076 GB, free: 9.113 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01201/0.151, allocations: 6.45 MB / 1.082 GB, free: 2.297 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.701e-05/0.1511, allocations: 19.89 kB / 1.082 GB, free: 2.277 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004318/0.1516, allocations: 160 kB / 1.083 GB, free: 2.121 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006485/0.1522, allocations: 282.9 kB / 1.083 GB, free: 1.844 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008268/0.1605, allocations: 4.516 MB / 1.087 GB, free: 13.32 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02473/0.1852, allocations: 17.38 MB / 1.104 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001773/0.187, allocations: 1.056 MB / 1.105 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001434/0.1884, allocations: 0.9602 MB / 1.106 GB, free: 9.406 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.851e-05/0.1885, allocations: 9 kB / 1.106 GB, free: 9.395 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.823e-05/0.1885, allocations: 47.56 kB / 1.106 GB, free: 9.34 MB / 1.061 GB Notification: Performance of pre-optimization done (n=110): time 3.045e-06/0.1885, allocations: 0 / 1.106 GB, free: 9.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=131): time 0.02363/0.2122, allocations: 9.089 MB / 1.115 GB, free: 188 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/0.2122, allocations: 68.72 kB / 1.115 GB, free: 108 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/0.2142, allocations: 1.397 MB / 1.117 GB, free: 14.7 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001444/0.2143, allocations: 57.69 kB / 1.117 GB, free: 14.64 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.00135/0.2157, allocations: 1.722 MB / 1.118 GB, free: 12.9 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004892/0.2162, allocations: 487.8 kB / 1.119 GB, free: 12.42 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005669/0.2167, allocations: 323.4 kB / 1.119 GB, free: 12.1 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.2169, allocations: 305.1 kB / 1.119 GB, free: 11.8 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/0.2184, allocations: 0.9174 MB / 1.12 GB, free: 10.88 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001971/0.2203, allocations: 1.459 MB / 1.122 GB, free: 9.184 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003642/0.224, allocations: 2.558 MB / 1.124 GB, free: 6.383 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/0.224, allocations: 4 kB / 1.124 GB, free: 6.379 MB / 1.076 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006443/0.2304, allocations: 3.263 MB / 1.127 GB, free: 3.078 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.2305, allocations: 15.98 kB / 1.127 GB, free: 3.062 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/0.2305, allocations: 19.94 kB / 1.127 GB, free: 3.043 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002494/0.233, allocations: 0.7299 MB / 1.128 GB, free: 2.285 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/0.2347, allocations: 387.3 kB / 1.128 GB, free: 1.906 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4825/0.7171, allocations: 15.8 MB / 1.144 GB, free: 147.8 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/0.7187, allocations: 101.6 kB / 1.144 GB, free: 147.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/0.7189, allocations: 70.5 kB / 1.144 GB, free: 147.8 MB / 1.076 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.001928/0.7208, allocations: 1.315 MB / 1.145 GB, free: 147.2 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003477/0.7212, allocations: 196.6 kB / 1.146 GB, free: 147.2 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004397/0.7256, allocations: 2.763 MB / 1.148 GB, free: 146.1 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.7256, allocations: 14.03 kB / 1.148 GB, free: 146.1 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.7256, allocations: 5.594 kB / 1.148 GB, free: 146.1 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.7256, allocations: 5.953 kB / 1.148 GB, free: 146.1 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008036/0.7336, allocations: 5.338 MB / 1.154 GB, free: 143.8 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.7336, allocations: 2.906 kB / 1.154 GB, free: 143.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.7348, allocations: 235.9 kB / 1.154 GB, free: 143.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001903/0.7367, allocations: 0.6703 MB / 1.154 GB, free: 143.6 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.556e-05/0.7368, allocations: 30.31 kB / 1.154 GB, free: 143.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0113/0.7481, allocations: 15.56 MB / 1.17 GB, free: 130.7 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.7481, allocations: 5.844 kB / 1.17 GB, free: 130.7 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005215/0.7533, allocations: 3.97 MB / 1.173 GB, free: 128.9 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008278/0.7542, allocations: 373.8 kB / 1.174 GB, free: 128.8 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000241/0.7544, allocations: 37.17 kB / 1.174 GB, free: 128.8 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00091/0.7553, allocations: 84.62 kB / 1.174 GB, free: 128.8 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002909/0.7556, allocations: 122 kB / 1.174 GB, free: 128.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.653e-05/0.7557, allocations: 38.56 kB / 1.174 GB, free: 128.8 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009917/0.7567, allocations: 0.9072 MB / 1.175 GB, free: 128.4 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.7567, allocations: 0 / 1.175 GB, free: 128.4 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002628/0.7593, allocations: 0.6828 MB / 1.176 GB, free: 128.4 MB / 1.076 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.0002507/0.7596, allocations: 148 kB / 1.176 GB, free: 128.3 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004688/0.7643, allocations: 3.385 MB / 1.179 GB, free: 126.4 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.7643, allocations: 1.031 kB / 1.179 GB, free: 126.4 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002799/0.7671, allocations: 2.233 MB / 1.181 GB, free: 125 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002641/0.7697, allocations: 0.6385 MB / 1.182 GB, free: 124.8 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009052/0.7788, allocations: 6.497 MB / 1.188 GB, free: 121.7 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002414/0.7812, allocations: 2.104 MB / 1.19 GB, free: 121.1 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001449/0.7826, allocations: 478.4 kB / 1.191 GB, free: 121 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003449/0.783, allocations: 115 kB / 1.191 GB, free: 121 MB / 1.076 GB Notification: Performance of SimCode: time 1.072e-06/0.783, allocations: 0 / 1.191 GB, free: 121 MB / 1.076 GB Notification: Performance of Templates: time 0.06155/0.8445, allocations: 33.44 MB / 1.224 GB, free: 113.9 MB / 1.076 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 800] 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: 9.543389365077019]