Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001352/0.001352, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001536/0.001536, allocations: 215.5 kB / 22.99 MB, free: 4.945 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.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 3.4/3.4, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.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_latest_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_latest_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.002205/0.002205, allocations: 77.17 kB / 1.187 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.4, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008775/0.4088, allocations: 5.276 MB / 1.37 GB, free: 8.285 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005077/0.4138, allocations: 2.611 MB / 1.372 GB, free: 5.664 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004187/0.4142, allocations: 27.75 kB / 1.372 GB, free: 5.637 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002028/0.4163, allocations: 0.6846 MB / 1.373 GB, free: 4.949 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.4174, allocations: 417.8 kB / 1.373 GB, free: 4.539 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.4184, allocations: 396.7 kB / 1.374 GB, free: 4.152 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001259/0.4197, allocations: 0.9516 MB / 1.375 GB, free: 3.195 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006307/0.4203, allocations: 382.5 kB / 1.375 GB, free: 2.812 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006752/0.421, allocations: 390.5 kB / 1.375 GB, free: 2.43 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006476/0.4216, allocations: 402.4 kB / 1.376 GB, free: 2.035 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.477e-05/0.4217, allocations: 48 kB / 1.376 GB, free: 1.988 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007055/0.4224, allocations: 331.2 kB / 1.376 GB, free: 1.664 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000299/0.4227, allocations: 259.2 kB / 1.376 GB, free: 1.41 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003376/0.4231, allocations: 282.7 kB / 1.377 GB, free: 1.133 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.4243, allocations: 0.9922 MB / 1.378 GB, free: 140 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4243, allocations: 0 / 1.378 GB, free: 140 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4243, allocations: 4 kB / 1.378 GB, free: 136 kB / 1.061 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.4243, allocations: 0 / 1.378 GB, free: 136 kB / 1.061 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.001712/0.426, allocations: 0.9055 MB / 1.379 GB, free: 15.19 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.4261, allocations: 12.03 kB / 1.379 GB, free: 15.18 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001391/0.4275, allocations: 204.2 kB / 1.379 GB, free: 14.98 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009521/0.4284, allocations: 455.6 kB / 1.379 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.344e-05/0.4285, allocations: 41.36 kB / 1.379 GB, free: 14.48 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.4286, allocations: 52.56 kB / 1.379 GB, free: 14.43 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.43, allocations: 0.9823 MB / 1.38 GB, free: 13.32 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.4301, allocations: 8 kB / 1.38 GB, free: 13.32 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-05/0.4301, allocations: 23.98 kB / 1.38 GB, free: 13.29 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002093/0.4303, allocations: 68.94 kB / 1.38 GB, free: 13.23 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009664/0.4313, allocations: 0.5657 MB / 1.381 GB, free: 12.66 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004564/0.4359, allocations: 3.488 MB / 1.384 GB, free: 9.039 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005088/0.4364, allocations: 275.3 kB / 1.385 GB, free: 8.762 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003444/0.4367, allocations: 217.3 kB / 1.385 GB, free: 8.547 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.4367, allocations: 8.219 kB / 1.385 GB, free: 8.539 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/0.4368, allocations: 42.78 kB / 1.385 GB, free: 8.488 MB / 1.076 GB Notification: Performance of pre-optimization done (n=33): time 2.224e-06/0.4368, allocations: 0 / 1.385 GB, free: 8.488 MB / 1.076 GB Notification: Performance of matching and sorting (n=40): time 0.005847/0.4426, allocations: 2.319 MB / 1.387 GB, free: 6.117 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.4427, allocations: 59.39 kB / 1.387 GB, free: 6.047 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005318/0.4432, allocations: 425.7 kB / 1.388 GB, free: 5.629 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.237e-05/0.4433, allocations: 29.7 kB / 1.388 GB, free: 5.594 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000278/0.4435, allocations: 368.3 kB / 1.388 GB, free: 5.227 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.4437, allocations: 142.8 kB / 1.388 GB, free: 5.086 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/0.4439, allocations: 106.2 kB / 1.388 GB, free: 4.977 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002092/0.4441, allocations: 362.7 kB / 1.389 GB, free: 4.613 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003875/0.4444, allocations: 241.2 kB / 1.389 GB, free: 4.379 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005496/0.445, allocations: 407.3 kB / 1.389 GB, free: 3.902 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009699/0.446, allocations: 0.674 MB / 1.39 GB, free: 3.156 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.446, allocations: 3.938 kB / 1.39 GB, free: 3.152 MB / 1.076 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001812/0.4478, allocations: 0.9101 MB / 1.391 GB, free: 2.227 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.4478, allocations: 8 kB / 1.391 GB, free: 2.219 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.4478, allocations: 4 kB / 1.391 GB, free: 2.215 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007875/0.4486, allocations: 222.5 kB / 1.391 GB, free: 1.988 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00052/0.4491, allocations: 115.8 kB / 1.391 GB, free: 1.875 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005629/0.4548, allocations: 4.945 MB / 1.396 GB, free: 12.62 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004902/0.4552, allocations: 27.97 kB / 1.396 GB, free: 12.59 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.073e-05/0.4553, allocations: 24 kB / 1.396 GB, free: 12.57 MB / 1.092 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.0003595/0.4556, allocations: 225.6 kB / 1.396 GB, free: 12.34 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.4557, allocations: 59.69 kB / 1.396 GB, free: 12.28 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/0.4573, allocations: 0.7652 MB / 1.397 GB, free: 11.5 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.4573, allocations: 4 kB / 1.397 GB, free: 11.49 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.4573, allocations: 4 kB / 1.397 GB, free: 11.49 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.4573, allocations: 3.938 kB / 1.397 GB, free: 11.48 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/0.4598, allocations: 1.327 MB / 1.398 GB, free: 10.09 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.4599, allocations: 0 / 1.398 GB, free: 10.09 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003768/0.4602, allocations: 71.88 kB / 1.398 GB, free: 10.02 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006746/0.4609, allocations: 206.3 kB / 1.399 GB, free: 9.809 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.4609, allocations: 12.03 kB / 1.399 GB, free: 9.797 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005277/0.4662, allocations: 4.868 MB / 1.403 GB, free: 4.621 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4662, allocations: 0 / 1.403 GB, free: 4.621 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/0.4681, allocations: 1.135 MB / 1.404 GB, free: 3.438 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00026/0.4684, allocations: 91.78 kB / 1.404 GB, free: 3.348 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.027e-05/0.4684, allocations: 15.98 kB / 1.404 GB, free: 3.332 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003172/0.4688, allocations: 27.97 kB / 1.405 GB, free: 3.305 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.013e-05/0.4688, allocations: 31.94 kB / 1.405 GB, free: 3.273 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.4689, allocations: 12 kB / 1.405 GB, free: 3.262 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003467/0.4692, allocations: 287 kB / 1.405 GB, free: 2.988 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/0.4692, allocations: 0 / 1.405 GB, free: 2.988 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000692/0.4699, allocations: 172 kB / 1.405 GB, free: 2.82 MB / 1.092 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.0001694/0.4701, allocations: 115.3 kB / 1.405 GB, free: 2.699 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001703/0.4718, allocations: 0.9661 MB / 1.406 GB, free: 1.695 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4718, allocations: 3.938 kB / 1.406 GB, free: 1.691 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.4728, allocations: 0.672 MB / 1.407 GB, free: 0.9805 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008575/0.4737, allocations: 168.9 kB / 1.407 GB, free: 0.8203 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.4759, allocations: 1.319 MB / 1.408 GB, free: 15.45 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004107/0.4763, allocations: 354 kB / 1.408 GB, free: 15.07 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.4764, allocations: 35.44 kB / 1.409 GB, free: 15.04 MB / 1.107 GB Notification: Performance of SimCode: time 9.22e-07/0.4764, allocations: 0 / 1.409 GB, free: 15.04 MB / 1.107 GB Notification: Performance of Templates: time 0.02038/0.4968, allocations: 14.9 MB / 1.423 GB, free: 180 kB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 13.943385771010071]