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.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.001744/0.001744, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.00217/0.00217, allocations: 185.8 kB / 22.23 MB, free: 5.137 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.441/1.441, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.125/3.125, allocations: 496 MB / 0.7835 GB, free: 33.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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.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: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 65.34 kB / 1.138 GB, free: 33.9 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3474, allocations: 173.6 MB / 1.307 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008452/0.3558, allocations: 5.662 MB / 1.313 GB, free: 12.14 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004888/0.3607, allocations: 2.74 MB / 1.315 GB, free: 9.387 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004126/0.3611, allocations: 31.69 kB / 1.316 GB, free: 9.355 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001967/0.3631, allocations: 0.6937 MB / 1.316 GB, free: 8.66 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00111/0.3642, allocations: 421.8 kB / 1.317 GB, free: 8.246 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.3653, allocations: 406.2 kB / 1.317 GB, free: 7.852 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00126/0.3665, allocations: 0.9555 MB / 1.318 GB, free: 6.891 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005887/0.3671, allocations: 334.9 kB / 1.318 GB, free: 6.555 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000561/0.3677, allocations: 382.5 kB / 1.319 GB, free: 6.18 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006013/0.3683, allocations: 426.4 kB / 1.319 GB, free: 5.762 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.865e-05/0.3684, allocations: 48 kB / 1.319 GB, free: 5.715 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007075/0.3691, allocations: 375.2 kB / 1.319 GB, free: 5.348 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002778/0.3693, allocations: 259.2 kB / 1.32 GB, free: 5.094 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003682/0.3697, allocations: 342.3 kB / 1.32 GB, free: 4.758 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.3709, allocations: 0.9766 MB / 1.321 GB, free: 3.777 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3709, allocations: 0 / 1.321 GB, free: 3.777 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3709, allocations: 0 / 1.321 GB, free: 3.777 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.371, allocations: 0 / 1.321 GB, free: 3.777 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001689/0.3726, allocations: 0.9248 MB / 1.322 GB, free: 2.82 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.3727, allocations: 8.922 kB / 1.322 GB, free: 2.812 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001427/0.3741, allocations: 200.2 kB / 1.322 GB, free: 2.617 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008687/0.375, allocations: 455.6 kB / 1.322 GB, free: 2.148 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.28e-05/0.375, allocations: 41.36 kB / 1.323 GB, free: 2.109 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/0.3752, allocations: 52.53 kB / 1.323 GB, free: 2.059 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.3765, allocations: 0.8356 MB / 1.323 GB, free: 1.141 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/0.3765, allocations: 4 kB / 1.323 GB, free: 1.137 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.251e-05/0.3766, allocations: 27.98 kB / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001954/0.3768, allocations: 60.95 kB / 1.323 GB, free: 1.051 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009707/0.3778, allocations: 0.5813 MB / 1.324 GB, free: 480 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005179/0.3829, allocations: 4.493 MB / 1.328 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004916/0.3834, allocations: 271.3 kB / 1.329 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003286/0.3838, allocations: 209.3 kB / 1.329 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.772e-05/0.3838, allocations: 12.27 kB / 1.329 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/0.3838, allocations: 46.77 kB / 1.329 GB, free: 11.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 1.623e-06/0.3838, allocations: 0 / 1.329 GB, free: 11.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=40): time 0.005746/0.3896, allocations: 2.34 MB / 1.331 GB, free: 8.699 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.3896, allocations: 59.34 kB / 1.331 GB, free: 8.629 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005575/0.3902, allocations: 461.9 kB / 1.332 GB, free: 8.168 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/0.3902, allocations: 33.7 kB / 1.332 GB, free: 8.129 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/0.3905, allocations: 344.6 kB / 1.332 GB, free: 7.789 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.3906, allocations: 154.7 kB / 1.332 GB, free: 7.637 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001802/0.3908, allocations: 102.3 kB / 1.332 GB, free: 7.531 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.391, allocations: 362.8 kB / 1.333 GB, free: 7.168 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003896/0.3914, allocations: 237.2 kB / 1.333 GB, free: 6.938 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005267/0.3919, allocations: 403.4 kB / 1.333 GB, free: 6.465 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009556/0.3929, allocations: 0.6739 MB / 1.334 GB, free: 5.719 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3929, allocations: 4 kB / 1.334 GB, free: 5.715 MB / 1.029 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001785/0.3946, allocations: 0.921 MB / 1.335 GB, free: 4.777 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.3947, allocations: 9.25 kB / 1.335 GB, free: 4.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.3947, allocations: 4.656 kB / 1.335 GB, free: 4.766 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008074/0.3955, allocations: 226.4 kB / 1.335 GB, free: 4.535 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005169/0.396, allocations: 111.8 kB / 1.335 GB, free: 4.426 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005529/0.4015, allocations: 5.035 MB / 1.34 GB, free: 15.05 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005172/0.402, allocations: 35.97 kB / 1.34 GB, free: 15.01 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.663e-05/0.4021, allocations: 20 kB / 1.34 GB, free: 14.99 MB / 1.045 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.0003466/0.4024, allocations: 229.6 kB / 1.34 GB, free: 14.76 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.685e-05/0.4025, allocations: 59.61 kB / 1.34 GB, free: 14.7 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001588/0.4041, allocations: 0.7659 MB / 1.341 GB, free: 13.91 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.4041, allocations: 4 kB / 1.341 GB, free: 13.91 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.4041, allocations: 4 kB / 1.341 GB, free: 13.9 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.4041, allocations: 0 / 1.341 GB, free: 13.9 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002612/0.4068, allocations: 1.469 MB / 1.343 GB, free: 12.35 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.4068, allocations: 4 kB / 1.343 GB, free: 12.35 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000369/0.4071, allocations: 67.88 kB / 1.343 GB, free: 12.28 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006888/0.4078, allocations: 206.6 kB / 1.343 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.143e-05/0.4078, allocations: 12 kB / 1.343 GB, free: 12.06 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005538/0.4134, allocations: 4.971 MB / 1.348 GB, free: 6.746 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.4134, allocations: 0 / 1.348 GB, free: 6.746 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002122/0.4155, allocations: 1.131 MB / 1.349 GB, free: 5.566 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002583/0.4158, allocations: 91.58 kB / 1.349 GB, free: 5.477 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.816e-05/0.4158, allocations: 15.94 kB / 1.349 GB, free: 5.461 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003174/0.4162, allocations: 23.97 kB / 1.349 GB, free: 5.438 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.4163, allocations: 36 kB / 1.349 GB, free: 5.402 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/0.4163, allocations: 16 kB / 1.349 GB, free: 5.387 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004111/0.4167, allocations: 314.9 kB / 1.349 GB, free: 5.082 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4167, allocations: 0 / 1.349 GB, free: 5.082 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0007485/0.4175, allocations: 164 kB / 1.349 GB, free: 4.922 MB / 1.045 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.0001975/0.4177, allocations: 118.5 kB / 1.35 GB, free: 4.801 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001755/0.4194, allocations: 0.9655 MB / 1.351 GB, free: 3.797 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4194, allocations: 0 / 1.351 GB, free: 3.797 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0009801/0.4204, allocations: 0.6796 MB / 1.351 GB, free: 3.078 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008406/0.4212, allocations: 188.5 kB / 1.351 GB, free: 2.895 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.4235, allocations: 1.262 MB / 1.353 GB, free: 1.582 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000642/0.4242, allocations: 0.9531 MB / 1.354 GB, free: 0.6016 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003338/0.4245, allocations: 113 kB / 1.354 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.917e-05/0.4246, allocations: 39.42 kB / 1.354 GB, free: 464 kB / 1.045 GB Notification: Performance of SimCode: time 1.163e-06/0.4246, allocations: 4 kB / 1.354 GB, free: 460 kB / 1.045 GB Notification: Performance of Templates: time 0.01821/0.4428, allocations: 9.381 MB / 1.363 GB, free: 7.188 MB / 1.061 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 -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/jenkins/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.35794436559081]