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.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.001445/0.001445, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001547/0.001547, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.432/1.432, allocations: 225.6 MB / 249.4 MB, free: 3.004 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.749/2.749, allocations: 476.7 MB / 0.7629 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 67.89 kB / 1.107 GB, free: 4.609 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172/1.174, allocations: 168.7 MB / 1.272 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007241/1.181, allocations: 5.663 MB / 1.277 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00422/1.186, allocations: 2.721 MB / 1.28 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004245/1.186, allocations: 24.81 kB / 1.28 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001783/1.188, allocations: 0.7001 MB / 1.281 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001041/1.189, allocations: 427 kB / 1.281 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001071/1.19, allocations: 398.5 kB / 1.282 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001276/1.191, allocations: 0.9546 MB / 1.283 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005526/1.192, allocations: 330.3 kB / 1.283 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005346/1.192, allocations: 382.9 kB / 1.283 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005935/1.193, allocations: 422.8 kB / 1.284 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.991e-05/1.193, allocations: 50.25 kB / 1.284 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007962/1.194, allocations: 377 kB / 1.284 GB, free: 436 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002637/1.194, allocations: 258.4 kB / 1.284 GB, free: 324 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00031/1.194, allocations: 341.9 kB / 1.285 GB, free: 124 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001373/1.196, allocations: 0.9819 MB / 1.286 GB, free: 15.77 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.196, allocations: 4.594 kB / 1.286 GB, free: 15.77 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.343e-06/1.196, allocations: 0 / 1.286 GB, free: 15.77 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.257e-05/1.196, allocations: 0 / 1.286 GB, free: 15.77 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.001751/1.197, allocations: 0.9866 MB / 1.287 GB, free: 15.04 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/1.198, allocations: 12.81 kB / 1.287 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/1.199, allocations: 199.5 kB / 1.287 GB, free: 14.99 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008402/1.2, allocations: 0.5198 MB / 1.287 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.407e-05/1.2, allocations: 42.98 kB / 1.287 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/1.2, allocations: 49.42 kB / 1.287 GB, free: 14.61 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/1.201, allocations: 0.8335 MB / 1.288 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/1.201, allocations: 2.656 kB / 1.288 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.249e-05/1.201, allocations: 26.36 kB / 1.288 GB, free: 14.11 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001934/1.202, allocations: 63.7 kB / 1.288 GB, free: 14.1 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009883/1.203, allocations: 0.5736 MB / 1.289 GB, free: 13.9 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004831/1.207, allocations: 4.578 MB / 1.293 GB, free: 9.988 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004737/1.208, allocations: 272.2 kB / 1.294 GB, free: 9.879 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003295/1.208, allocations: 216.7 kB / 1.294 GB, free: 9.793 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.207e-05/1.208, allocations: 8.109 kB / 1.294 GB, free: 9.789 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/1.208, allocations: 36.94 kB / 1.294 GB, free: 9.746 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 2.265e-06/1.208, allocations: 7.938 kB / 1.294 GB, free: 9.738 MB / 1.014 GB Notification: Performance of matching and sorting (n=40): time 0.005536/1.214, allocations: 2.634 MB / 1.296 GB, free: 8.344 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/1.214, allocations: 55.53 kB / 1.296 GB, free: 8.281 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005459/1.214, allocations: 460.5 kB / 1.297 GB, free: 8.055 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.483e-05/1.214, allocations: 35.95 kB / 1.297 GB, free: 8.016 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/1.215, allocations: 338.9 kB / 1.297 GB, free: 7.746 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/1.215, allocations: 153.7 kB / 1.297 GB, free: 7.625 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/1.215, allocations: 106 kB / 1.297 GB, free: 7.566 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001855/1.215, allocations: 364.3 kB / 1.298 GB, free: 7.23 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004475/1.216, allocations: 233.8 kB / 1.298 GB, free: 7.152 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006598/1.216, allocations: 404.5 kB / 1.298 GB, free: 6.859 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009693/1.217, allocations: 0.6819 MB / 1.299 GB, free: 6.418 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/1.217, allocations: 1.625 kB / 1.299 GB, free: 6.418 MB / 1.014 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001736/1.219, allocations: 0.9189 MB / 1.3 GB, free: 6.027 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/1.219, allocations: 8.219 kB / 1.3 GB, free: 6.027 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/1.219, allocations: 5.812 kB / 1.3 GB, free: 6.027 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007864/1.22, allocations: 223.5 kB / 1.3 GB, free: 5.961 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005173/1.22, allocations: 115.9 kB / 1.3 GB, free: 5.949 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005645/1.226, allocations: 5.353 MB / 1.306 GB, free: 1.27 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005633/1.227, allocations: 31.11 kB / 1.306 GB, free: 1.262 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.218e-05/1.227, allocations: 22.53 kB / 1.306 GB, free: 1.258 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.0004168/1.227, allocations: 225.8 kB / 1.306 GB, free: 1.086 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/1.227, allocations: 64.44 kB / 1.306 GB, free: 1.051 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/1.229, allocations: 0.7618 MB / 1.307 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/1.229, allocations: 5.672 kB / 1.307 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.229, allocations: 2.312 kB / 1.307 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/1.229, allocations: 1.875 kB / 1.307 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003034/1.232, allocations: 1.495 MB / 1.308 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.232, allocations: 1.281 kB / 1.308 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004147/1.232, allocations: 67.64 kB / 1.308 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007406/1.233, allocations: 207.5 kB / 1.308 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.696e-05/1.233, allocations: 9.156 kB / 1.308 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006112/1.239, allocations: 5.277 MB / 1.314 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.239, allocations: 2.078 kB / 1.314 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002475/1.242, allocations: 1.125 MB / 1.315 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003988/1.242, allocations: 167.4 kB / 1.315 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.925e-05/1.242, allocations: 18.47 kB / 1.315 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003364/1.243, allocations: 23.92 kB / 1.315 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/1.243, allocations: 30.94 kB / 1.315 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.742e-05/1.243, allocations: 18.41 kB / 1.315 GB, free: 10.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004989/1.243, allocations: 316.5 kB / 1.315 GB, free: 10.31 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/1.243, allocations: 0 / 1.315 GB, free: 10.31 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009148/1.244, allocations: 166.8 kB / 1.315 GB, free: 10.3 MB / 1.029 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.0002203/1.244, allocations: 124.8 kB / 1.315 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001974/1.246, allocations: 0.9746 MB / 1.316 GB, free: 9.617 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.246, allocations: 0 / 1.316 GB, free: 9.617 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/1.248, allocations: 0.6705 MB / 1.317 GB, free: 9.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009459/1.249, allocations: 182.6 kB / 1.317 GB, free: 9.098 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/1.251, allocations: 1.266 MB / 1.318 GB, free: 8.379 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007397/1.252, allocations: 0.9466 MB / 1.319 GB, free: 7.652 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004208/1.252, allocations: 120.1 kB / 1.32 GB, free: 7.625 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/1.252, allocations: 36.92 kB / 1.32 GB, free: 7.617 MB / 1.029 GB Notification: Performance of SimCode: time 1.032e-06/1.252, allocations: 3.938 kB / 1.32 GB, free: 7.613 MB / 1.029 GB Notification: Performance of Templates: time 0.02302/1.275, allocations: 9.252 MB / 1.329 GB, free: 7 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.616359549574554]