Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001462/0.001462, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001689/0.001689, allocations: 213.7 kB / 22.25 MB, free: 4.855 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.449/1.449, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.805/2.805, allocations: 475.9 MB / 0.7699 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002109/0.002109, allocations: 71.66 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3871, allocations: 170 MB / 1.283 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008066/0.3952, allocations: 5.282 MB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004831/0.4, allocations: 2.615 MB / 1.291 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000382/0.4004, allocations: 27.75 kB / 1.291 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001954/0.4024, allocations: 0.6769 MB / 1.291 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000956/0.4033, allocations: 417.8 kB / 1.292 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009806/0.4043, allocations: 397.1 kB / 1.292 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001015/0.4053, allocations: 0.9594 MB / 1.293 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000587/0.4059, allocations: 378.5 kB / 1.294 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005508/0.4064, allocations: 390.5 kB / 1.294 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005656/0.407, allocations: 398.4 kB / 1.294 GB, free: 344 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.917e-05/0.4071, allocations: 52 kB / 1.294 GB, free: 292 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006909/0.4078, allocations: 331.2 kB / 1.295 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000272/0.4081, allocations: 255.2 kB / 1.295 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003011/0.4084, allocations: 286.6 kB / 1.295 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.4095, allocations: 0.9883 MB / 1.296 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.4095, allocations: 0 / 1.296 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.384e-06/0.4095, allocations: 0 / 1.296 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.665e-05/0.4095, allocations: 3.938 kB / 1.296 GB, free: 14.43 MB / 0.9981 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.001754/0.4113, allocations: 0.917 MB / 1.297 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.4113, allocations: 8.031 kB / 1.297 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/0.4127, allocations: 192.3 kB / 1.297 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000918/0.4136, allocations: 463.6 kB / 1.298 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.884e-05/0.4136, allocations: 41.36 kB / 1.298 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.4138, allocations: 52.56 kB / 1.298 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.4151, allocations: 0.9823 MB / 1.299 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.4151, allocations: 11.94 kB / 1.299 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.8e-05/0.4152, allocations: 23.98 kB / 1.299 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001857/0.4154, allocations: 64.95 kB / 1.299 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008812/0.4162, allocations: 0.5735 MB / 1.299 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004063/0.4203, allocations: 3.476 MB / 1.303 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004699/0.4208, allocations: 275.3 kB / 1.303 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003071/0.4211, allocations: 213.3 kB / 1.303 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.4211, allocations: 12.22 kB / 1.303 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.4211, allocations: 38.84 kB / 1.303 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 2.275e-06/0.4211, allocations: 0 / 1.303 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.005434/0.4266, allocations: 2.331 MB / 1.306 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.4266, allocations: 55.41 kB / 1.306 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004649/0.4271, allocations: 425.7 kB / 1.306 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.903e-05/0.4271, allocations: 33.7 kB / 1.306 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/0.4274, allocations: 356.4 kB / 1.306 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.4275, allocations: 150.7 kB / 1.306 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/0.4277, allocations: 106.2 kB / 1.307 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.4279, allocations: 366.7 kB / 1.307 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003626/0.4282, allocations: 241.2 kB / 1.307 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000524/0.4288, allocations: 411.3 kB / 1.308 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009045/0.4297, allocations: 0.674 MB / 1.308 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4297, allocations: 4 kB / 1.308 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001668/0.4313, allocations: 0.9054 MB / 1.309 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.4314, allocations: 8 kB / 1.309 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.4314, allocations: 4.656 kB / 1.309 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007798/0.4322, allocations: 230.3 kB / 1.309 GB, free: 272 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005064/0.4327, allocations: 119.8 kB / 1.309 GB, free: 152 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005355/0.438, allocations: 4.938 MB / 1.314 GB, free: 10.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004733/0.4385, allocations: 32.09 kB / 1.314 GB, free: 10.87 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/0.4385, allocations: 24 kB / 1.314 GB, free: 10.84 MB / 1.014 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.000359/0.4389, allocations: 217.7 kB / 1.315 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.752e-05/0.439, allocations: 55.67 kB / 1.315 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.4405, allocations: 0.7655 MB / 1.315 GB, free: 9.781 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.4405, allocations: 4 kB / 1.315 GB, free: 9.777 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.4406, allocations: 0 / 1.315 GB, free: 9.777 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.4406, allocations: 7.922 kB / 1.315 GB, free: 9.77 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002445/0.443, allocations: 1.326 MB / 1.317 GB, free: 8.375 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.443, allocations: 4 kB / 1.317 GB, free: 8.371 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003624/0.4434, allocations: 63.89 kB / 1.317 GB, free: 8.309 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006767/0.4441, allocations: 218.5 kB / 1.317 GB, free: 8.086 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.4441, allocations: 8 kB / 1.317 GB, free: 8.078 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005003/0.4491, allocations: 4.867 MB / 1.322 GB, free: 2.906 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.4491, allocations: 0 / 1.322 GB, free: 2.906 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/0.451, allocations: 1.128 MB / 1.323 GB, free: 1.73 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000277/0.4512, allocations: 99.55 kB / 1.323 GB, free: 1.633 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.364e-05/0.4513, allocations: 8.141 kB / 1.323 GB, free: 1.625 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003237/0.4516, allocations: 27.97 kB / 1.323 GB, free: 1.598 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.305e-05/0.4517, allocations: 36.11 kB / 1.323 GB, free: 1.562 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.4517, allocations: 16 kB / 1.323 GB, free: 1.547 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003346/0.4521, allocations: 291.1 kB / 1.323 GB, free: 1.266 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4521, allocations: 0 / 1.323 GB, free: 1.266 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007057/0.4528, allocations: 172 kB / 1.323 GB, free: 1.098 MB / 1.014 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.0001656/0.453, allocations: 107.2 kB / 1.324 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001673/0.4546, allocations: 0.9688 MB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.4546, allocations: 0 / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001/0.4556, allocations: 0.6642 MB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00084/0.4565, allocations: 168.2 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.4587, allocations: 1.272 MB / 1.327 GB, free: 13.79 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.4591, allocations: 350 kB / 1.327 GB, free: 13.43 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003171/0.4594, allocations: 116.8 kB / 1.327 GB, free: 13.31 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.4595, allocations: 35.44 kB / 1.327 GB, free: 13.28 MB / 1.029 GB Notification: Performance of SimCode: time 6.21e-07/0.4595, allocations: 0 / 1.327 GB, free: 13.28 MB / 1.029 GB Notification: Performance of Templates: time 0.01713/0.4766, allocations: 9.815 MB / 1.337 GB, free: 3.676 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.368167700245976]