Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.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.00178/0.00178, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002191/0.002191, allocations: 210.8 kB / 22.99 MB, free: 4.984 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.228/3.228, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.OnePhase.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_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.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_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [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.002015/0.002015, allocations: 70 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3267, allocations: 176.1 MB / 1.327 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007869/0.3346, allocations: 5.279 MB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004785/0.3394, allocations: 2.611 MB / 1.335 GB, free: 9.129 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003142/0.3397, allocations: 35.69 kB / 1.335 GB, free: 9.094 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.3416, allocations: 0.6769 MB / 1.335 GB, free: 8.414 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0009279/0.3425, allocations: 421.7 kB / 1.336 GB, free: 8 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009339/0.3434, allocations: 399 kB / 1.336 GB, free: 7.609 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001046/0.3445, allocations: 0.9516 MB / 1.337 GB, free: 6.652 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005868/0.3451, allocations: 386.5 kB / 1.338 GB, free: 6.262 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005672/0.3456, allocations: 390.5 kB / 1.338 GB, free: 5.879 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000582/0.3462, allocations: 422.4 kB / 1.338 GB, free: 5.465 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.476e-05/0.3463, allocations: 48 kB / 1.338 GB, free: 5.418 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006224/0.3469, allocations: 335.3 kB / 1.339 GB, free: 5.09 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002682/0.3472, allocations: 263.1 kB / 1.339 GB, free: 4.832 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003372/0.3475, allocations: 290.6 kB / 1.339 GB, free: 4.547 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.3487, allocations: 0.9806 MB / 1.34 GB, free: 3.562 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3487, allocations: 0 / 1.34 GB, free: 3.562 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3487, allocations: 0 / 1.34 GB, free: 3.562 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.3487, allocations: 0 / 1.34 GB, free: 3.562 MB / 1.029 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.001666/0.3504, allocations: 0.9092 MB / 1.341 GB, free: 2.621 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.3504, allocations: 8.031 kB / 1.341 GB, free: 2.613 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001404/0.3518, allocations: 196.3 kB / 1.341 GB, free: 2.422 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009226/0.3527, allocations: 471.6 kB / 1.342 GB, free: 1.938 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.811e-05/0.3528, allocations: 33.38 kB / 1.342 GB, free: 1.906 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.3529, allocations: 52.55 kB / 1.342 GB, free: 1.855 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.3543, allocations: 0.9863 MB / 1.343 GB, free: 0.7461 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.3543, allocations: 7.953 kB / 1.343 GB, free: 0.7383 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-05/0.3544, allocations: 20 kB / 1.343 GB, free: 0.7188 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002036/0.3546, allocations: 72.88 kB / 1.343 GB, free: 0.6484 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009404/0.3555, allocations: 0.5696 MB / 1.343 GB, free: 80 kB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004358/0.3599, allocations: 3.492 MB / 1.347 GB, free: 12.46 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004942/0.3604, allocations: 271.3 kB / 1.347 GB, free: 12.18 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003253/0.3607, allocations: 213.3 kB / 1.347 GB, free: 11.97 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.3607, allocations: 4.281 kB / 1.347 GB, free: 11.97 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.3608, allocations: 34.84 kB / 1.347 GB, free: 11.93 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 4.218e-06/0.3608, allocations: 4 kB / 1.347 GB, free: 11.92 MB / 1.045 GB Notification: Performance of matching and sorting (n=40): time 0.005798/0.3666, allocations: 2.334 MB / 1.35 GB, free: 9.535 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.3666, allocations: 59.39 kB / 1.35 GB, free: 9.465 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004997/0.3671, allocations: 429.7 kB / 1.35 GB, free: 9.039 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/0.3671, allocations: 29.7 kB / 1.35 GB, free: 9.004 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002698/0.3674, allocations: 360.3 kB / 1.35 GB, free: 8.645 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.3675, allocations: 150.7 kB / 1.351 GB, free: 8.496 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.3677, allocations: 106.3 kB / 1.351 GB, free: 8.387 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.3679, allocations: 362.7 kB / 1.351 GB, free: 8.023 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003871/0.3683, allocations: 241.2 kB / 1.351 GB, free: 7.789 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005202/0.3688, allocations: 403.4 kB / 1.352 GB, free: 7.316 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009513/0.3698, allocations: 0.674 MB / 1.352 GB, free: 6.57 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3698, allocations: 3.938 kB / 1.352 GB, free: 6.566 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001807/0.3716, allocations: 0.9172 MB / 1.353 GB, free: 5.633 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.3716, allocations: 8 kB / 1.353 GB, free: 5.625 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.3716, allocations: 4 kB / 1.353 GB, free: 5.621 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008577/0.3725, allocations: 219 kB / 1.353 GB, free: 5.398 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005366/0.373, allocations: 119.8 kB / 1.354 GB, free: 5.281 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005825/0.3788, allocations: 4.946 MB / 1.358 GB, free: 24 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004483/0.3793, allocations: 35.97 kB / 1.358 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.764e-05/0.3793, allocations: 27.92 kB / 1.358 GB, free: 15.96 MB / 1.061 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.0003216/0.3797, allocations: 225.6 kB / 1.359 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.985e-05/0.3798, allocations: 55.67 kB / 1.359 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/0.3815, allocations: 0.754 MB / 1.359 GB, free: 14.91 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.3815, allocations: 4 kB / 1.359 GB, free: 14.91 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.3815, allocations: 4 kB / 1.359 GB, free: 14.9 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.3815, allocations: 7.875 kB / 1.359 GB, free: 14.89 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002555/0.3841, allocations: 1.323 MB / 1.361 GB, free: 13.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.3841, allocations: 3.984 kB / 1.361 GB, free: 13.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000396/0.3845, allocations: 63.95 kB / 1.361 GB, free: 13.44 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007644/0.3853, allocations: 210.5 kB / 1.361 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-05/0.3853, allocations: 8 kB / 1.361 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005546/0.3908, allocations: 4.871 MB / 1.366 GB, free: 8.035 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.3909, allocations: 4.031 kB / 1.366 GB, free: 8.031 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001966/0.3928, allocations: 1.128 MB / 1.367 GB, free: 6.855 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002669/0.3931, allocations: 95.55 kB / 1.367 GB, free: 6.762 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.734e-05/0.3932, allocations: 16.17 kB / 1.367 GB, free: 6.746 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003307/0.3935, allocations: 27.97 kB / 1.367 GB, free: 6.719 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.661e-05/0.3936, allocations: 39.88 kB / 1.367 GB, free: 6.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/0.3936, allocations: 12 kB / 1.367 GB, free: 6.668 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003227/0.3939, allocations: 287.1 kB / 1.367 GB, free: 6.395 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3939, allocations: 0 / 1.367 GB, free: 6.395 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007003/0.3946, allocations: 168.1 kB / 1.367 GB, free: 6.23 MB / 1.061 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.0001582/0.3948, allocations: 115.2 kB / 1.368 GB, free: 6.109 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001708/0.3965, allocations: 0.9691 MB / 1.369 GB, free: 5.102 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3965, allocations: 0 / 1.369 GB, free: 5.102 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.3976, allocations: 0.6719 MB / 1.369 GB, free: 4.391 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008512/0.3984, allocations: 167.1 kB / 1.369 GB, free: 4.234 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/0.4006, allocations: 1.257 MB / 1.371 GB, free: 2.926 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.401, allocations: 354 kB / 1.371 GB, free: 2.555 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003257/0.4013, allocations: 116.7 kB / 1.371 GB, free: 2.441 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.4014, allocations: 35.44 kB / 1.371 GB, free: 2.406 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/0.4014, allocations: 0 / 1.371 GB, free: 2.406 MB / 1.061 GB Notification: Performance of Templates: time 0.01834/0.4198, allocations: 10.01 MB / 1.381 GB, free: 8.598 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.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.13342461999855]