Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.0009538/0.0009538, allocations: 72.5 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.000856/0.000856, allocations: 177.9 kB / 23.21 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.858/0.858, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.75/1.75, allocations: 389 MB / 0.6338 GB, free: 12.71 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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.312e-05, allocations: 5.234 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004588/0.004611, allocations: 5.285 MB / 1.006 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002759/0.00737, allocations: 2.595 MB / 1.009 GB, free: 5.094 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002135/0.007583, allocations: 31.69 kB / 1.009 GB, free: 5.062 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0009574/0.008541, allocations: 0.6844 MB / 1.009 GB, free: 4.375 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0005145/0.009055, allocations: 437.3 kB / 1.01 GB, free: 3.945 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004932/0.009549, allocations: 425.2 kB / 1.01 GB, free: 3.531 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0006428/0.01019, allocations: 0.9863 MB / 1.011 GB, free: 2.539 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003998/0.01059, allocations: 382.4 kB / 1.011 GB, free: 2.156 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004455/0.01104, allocations: 0.5182 MB / 1.012 GB, free: 1.637 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003535/0.01139, allocations: 370.9 kB / 1.012 GB, free: 1.273 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.078e-05/0.01144, allocations: 48 kB / 1.012 GB, free: 1.227 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003163/0.01176, allocations: 327.1 kB / 1.013 GB, free: 0.9062 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001665/0.01192, allocations: 267.2 kB / 1.013 GB, free: 0.6445 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.01208, allocations: 243.4 kB / 1.013 GB, free: 416 kB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0007321/0.01282, allocations: 0.9968 MB / 1.014 GB, free: 15.41 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.01282, allocations: 0 / 1.014 GB, free: 15.41 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.032e-06/0.01282, allocations: 4 kB / 1.014 GB, free: 15.4 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.01283, allocations: 0 / 1.014 GB, free: 15.4 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001137/0.01396, allocations: 0.913 MB / 1.015 GB, free: 14.46 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.014, allocations: 16.75 kB / 1.015 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000731/0.01473, allocations: 204.2 kB / 1.015 GB, free: 14.24 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005249/0.01526, allocations: 468.2 kB / 1.016 GB, free: 13.76 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.01528, allocations: 37.38 kB / 1.016 GB, free: 13.73 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.01539, allocations: 52.55 kB / 1.016 GB, free: 13.68 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007881/0.01618, allocations: 0.9828 MB / 1.017 GB, free: 12.57 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.0162, allocations: 12.08 kB / 1.017 GB, free: 12.56 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.744e-05/0.01624, allocations: 20.12 kB / 1.017 GB, free: 12.54 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001074/0.01635, allocations: 72.94 kB / 1.017 GB, free: 12.47 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000581/0.01693, allocations: 0.5658 MB / 1.017 GB, free: 11.9 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002402/0.01933, allocations: 3.468 MB / 1.021 GB, free: 8.305 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/0.01964, allocations: 283.2 kB / 1.021 GB, free: 8.02 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.01984, allocations: 209.3 kB / 1.021 GB, free: 7.812 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.01987, allocations: 12.16 kB / 1.021 GB, free: 7.801 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.01989, allocations: 38.84 kB / 1.021 GB, free: 7.754 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=33): time 2.905e-06/0.01989, allocations: 4 kB / 1.021 GB, free: 7.75 MB / 0.9792 GB Notification: Performance of matching and sorting (n=40): time 0.003297/0.02319, allocations: 2.339 MB / 1.024 GB, free: 5.359 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.02322, allocations: 55.41 kB / 1.024 GB, free: 5.293 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.02351, allocations: 429.7 kB / 1.024 GB, free: 4.867 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.02353, allocations: 29.7 kB / 1.024 GB, free: 4.832 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.02369, allocations: 356.4 kB / 1.024 GB, free: 4.477 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 7.776e-05/0.02376, allocations: 154.7 kB / 1.025 GB, free: 4.324 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.02387, allocations: 102.3 kB / 1.025 GB, free: 4.219 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.02398, allocations: 362.7 kB / 1.025 GB, free: 3.855 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/0.02421, allocations: 237.2 kB / 1.025 GB, free: 3.625 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003031/0.02451, allocations: 415.3 kB / 1.026 GB, free: 3.141 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005817/0.02509, allocations: 0.6779 MB / 1.026 GB, free: 2.391 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.0251, allocations: 0 / 1.026 GB, free: 2.391 MB / 0.9792 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009949/0.02609, allocations: 0.9135 MB / 1.027 GB, free: 1.461 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.02611, allocations: 9.562 kB / 1.027 GB, free: 1.453 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.02612, allocations: 4 kB / 1.027 GB, free: 1.449 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004257/0.02654, allocations: 219 kB / 1.027 GB, free: 1.227 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/0.02681, allocations: 115.8 kB / 1.028 GB, free: 1.113 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003168/0.02998, allocations: 4.939 MB / 1.032 GB, free: 11.87 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.03018, allocations: 27.97 kB / 1.032 GB, free: 11.84 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.0302, allocations: 28.12 kB / 1.032 GB, free: 11.81 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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 {(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.0001894/0.03039, allocations: 229.7 kB / 1.033 GB, free: 11.58 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.365e-05/0.03045, allocations: 59.62 kB / 1.033 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008758/0.03132, allocations: 0.7731 MB / 1.033 GB, free: 10.73 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.03132, allocations: 4 kB / 1.033 GB, free: 10.73 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.03133, allocations: 0 / 1.033 GB, free: 10.73 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.03133, allocations: 0 / 1.033 GB, free: 10.73 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.03272, allocations: 1.326 MB / 1.035 GB, free: 9.332 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.03272, allocations: 4 kB / 1.035 GB, free: 9.328 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/0.03291, allocations: 67.89 kB / 1.035 GB, free: 9.262 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003555/0.03327, allocations: 202.6 kB / 1.035 GB, free: 9.055 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.03329, allocations: 11.98 kB / 1.035 GB, free: 9.043 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002926/0.03622, allocations: 4.86 MB / 1.04 GB, free: 3.871 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.03622, allocations: 4.031 kB / 1.04 GB, free: 3.867 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.03727, allocations: 1.12 MB / 1.041 GB, free: 2.699 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.03739, allocations: 95.56 kB / 1.041 GB, free: 2.605 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.543e-05/0.03743, allocations: 15.92 kB / 1.041 GB, free: 2.59 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.03759, allocations: 27.97 kB / 1.041 GB, free: 2.562 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.03764, allocations: 31.94 kB / 1.041 GB, free: 2.531 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.03766, allocations: 16 kB / 1.041 GB, free: 2.516 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001986/0.03786, allocations: 294.8 kB / 1.041 GB, free: 2.227 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9e-08/0.03786, allocations: 0 / 1.041 GB, free: 2.227 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004181/0.03827, allocations: 172.1 kB / 1.041 GB, free: 2.059 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.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 (30): * 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: 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 {(2,2,100.0%), (2,4,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.0001171/0.03839, allocations: 111.2 kB / 1.042 GB, free: 1.941 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001093/0.03948, allocations: 0.9691 MB / 1.043 GB, free: 0.9336 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.03949, allocations: 0 / 1.043 GB, free: 0.9336 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.000499/0.03999, allocations: 0.6578 MB / 1.043 GB, free: 244 kB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005224/0.04051, allocations: 177.2 kB / 1.043 GB, free: 76 kB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.04185, allocations: 1.287 MB / 1.045 GB, free: 14.73 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.04209, allocations: 354.2 kB / 1.045 GB, free: 14.36 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.133e-05/0.04218, allocations: 44.42 kB / 1.045 GB, free: 14.31 MB / 1.01 GB Notification: Performance of SimCode: time 6.31e-07/0.04218, allocations: 0 / 1.045 GB, free: 14.31 MB / 1.01 GB Notification: Performance of Templates: time 0.5031/0.5453, allocations: 15.05 MB / 1.06 GB, free: 96.43 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.319529413245618]