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.001503/0.001503, 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.001725/0.001725, allocations: 216.9 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.504/1.504, 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 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.251/3.251, allocations: 0.4892 GB / 0.7951 GB, free: 35.53 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.002119/0.002119, allocations: 62.83 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3589, allocations: 176.1 MB / 1.326 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.009135/0.368, allocations: 5.282 MB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005473/0.3735, allocations: 2.615 MB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006501/0.3741, allocations: 35.69 kB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002255/0.3764, allocations: 0.676 MB / 1.335 GB, free: 9.246 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001325/0.3777, allocations: 417.8 kB / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.3789, allocations: 391.1 kB / 1.335 GB, free: 8.453 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001302/0.3802, allocations: 0.9594 MB / 1.336 GB, free: 7.488 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006302/0.3808, allocations: 374.5 kB / 1.337 GB, free: 7.109 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006403/0.3814, allocations: 398.5 kB / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006372/0.3821, allocations: 398.4 kB / 1.338 GB, free: 6.328 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.321e-05/0.3821, allocations: 48 kB / 1.338 GB, free: 6.281 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007024/0.3829, allocations: 335.3 kB / 1.338 GB, free: 5.953 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002803/0.3831, allocations: 247.3 kB / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003399/0.3835, allocations: 294.6 kB / 1.338 GB, free: 5.422 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.3847, allocations: 0.9806 MB / 1.339 GB, free: 4.438 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3847, allocations: 3.938 kB / 1.339 GB, free: 4.434 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.953e-06/0.3847, allocations: 0 / 1.339 GB, free: 4.434 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.819e-06/0.3847, allocations: 0 / 1.339 GB, free: 4.434 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.001706/0.3864, allocations: 0.9148 MB / 1.34 GB, free: 3.488 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.3864, allocations: 8.031 kB / 1.34 GB, free: 3.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00137/0.3878, allocations: 200.3 kB / 1.34 GB, free: 3.285 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009284/0.3887, allocations: 455.6 kB / 1.341 GB, free: 2.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.05e-05/0.3888, allocations: 37.38 kB / 1.341 GB, free: 2.785 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001651/0.3889, allocations: 60.48 kB / 1.341 GB, free: 2.727 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.3903, allocations: 0.9824 MB / 1.342 GB, free: 1.617 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.737e-05/0.3903, allocations: 15.81 kB / 1.342 GB, free: 1.602 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.612e-05/0.3904, allocations: 24 kB / 1.342 GB, free: 1.578 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000193/0.3906, allocations: 68.94 kB / 1.342 GB, free: 1.512 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009386/0.3915, allocations: 0.5658 MB / 1.343 GB, free: 0.9453 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004434/0.3959, allocations: 3.484 MB / 1.346 GB, free: 13.33 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005102/0.3965, allocations: 283.2 kB / 1.346 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003444/0.3968, allocations: 209.3 kB / 1.346 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.3968, allocations: 4.281 kB / 1.346 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.3969, allocations: 38.84 kB / 1.347 GB, free: 12.79 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 5.791e-06/0.3969, allocations: 3.984 kB / 1.347 GB, free: 12.79 MB / 1.045 GB Notification: Performance of matching and sorting (n=40): time 0.005699/0.4026, allocations: 2.338 MB / 1.349 GB, free: 10.39 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.4026, allocations: 55.41 kB / 1.349 GB, free: 10.33 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005035/0.4031, allocations: 425.7 kB / 1.349 GB, free: 9.91 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.708e-05/0.4032, allocations: 33.7 kB / 1.349 GB, free: 9.871 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002793/0.4035, allocations: 356.4 kB / 1.35 GB, free: 9.516 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.4036, allocations: 154.7 kB / 1.35 GB, free: 9.363 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001778/0.4038, allocations: 106.3 kB / 1.35 GB, free: 9.254 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002093/0.404, allocations: 362.7 kB / 1.35 GB, free: 8.891 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003673/0.4043, allocations: 233.2 kB / 1.35 GB, free: 8.664 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005025/0.4048, allocations: 407.3 kB / 1.351 GB, free: 8.188 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000928/0.4058, allocations: 0.6779 MB / 1.352 GB, free: 7.438 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.4058, allocations: 4 kB / 1.352 GB, free: 7.434 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001704/0.4075, allocations: 0.9059 MB / 1.352 GB, free: 6.512 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.4075, allocations: 14.31 kB / 1.352 GB, free: 6.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.4075, allocations: 8 kB / 1.352 GB, free: 6.492 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007881/0.4083, allocations: 218.4 kB / 1.353 GB, free: 6.27 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005199/0.4088, allocations: 123.8 kB / 1.353 GB, free: 6.148 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005443/0.4143, allocations: 4.946 MB / 1.358 GB, free: 0.8906 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004871/0.4148, allocations: 35.97 kB / 1.358 GB, free: 0.8555 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.069e-05/0.4148, allocations: 20 kB / 1.358 GB, free: 0.8359 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.0003803/0.4152, allocations: 222.1 kB / 1.358 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.4153, allocations: 55.67 kB / 1.358 GB, free: 0.5547 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.4168, allocations: 0.758 MB / 1.359 GB, free: 15.78 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.4168, allocations: 4 kB / 1.359 GB, free: 15.77 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.4168, allocations: 0 / 1.359 GB, free: 15.77 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.4168, allocations: 11.92 kB / 1.359 GB, free: 15.76 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002442/0.4193, allocations: 1.319 MB / 1.36 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.4193, allocations: 4.219 kB / 1.36 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003725/0.4197, allocations: 71.89 kB / 1.36 GB, free: 14.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006616/0.4203, allocations: 206.4 kB / 1.36 GB, free: 14.09 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/0.4204, allocations: 11.98 kB / 1.36 GB, free: 14.08 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00514/0.4255, allocations: 4.871 MB / 1.365 GB, free: 8.902 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.4255, allocations: 0 / 1.365 GB, free: 8.902 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.4274, allocations: 1.131 MB / 1.366 GB, free: 7.723 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000259/0.4276, allocations: 91.62 kB / 1.366 GB, free: 7.633 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.69e-05/0.4277, allocations: 16.05 kB / 1.366 GB, free: 7.617 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003197/0.428, allocations: 31.97 kB / 1.366 GB, free: 7.586 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.554e-05/0.4281, allocations: 35.88 kB / 1.366 GB, free: 7.551 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/0.4281, allocations: 16 kB / 1.366 GB, free: 7.535 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003381/0.4285, allocations: 283.1 kB / 1.367 GB, free: 7.262 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4285, allocations: 0 / 1.367 GB, free: 7.262 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007189/0.4292, allocations: 168 kB / 1.367 GB, free: 7.098 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.0001759/0.4294, allocations: 115.2 kB / 1.367 GB, free: 6.977 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001682/0.4311, allocations: 0.973 MB / 1.368 GB, free: 5.965 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4311, allocations: 0 / 1.368 GB, free: 5.965 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0009799/0.432, allocations: 0.6642 MB / 1.368 GB, free: 5.262 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008513/0.4329, allocations: 175.6 kB / 1.369 GB, free: 5.094 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.4351, allocations: 1.311 MB / 1.37 GB, free: 3.727 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.4354, allocations: 354 kB / 1.37 GB, free: 3.355 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.4356, allocations: 39.44 kB / 1.37 GB, free: 3.316 MB / 1.061 GB Notification: Performance of SimCode: time 6.21e-07/0.4356, allocations: 0 / 1.37 GB, free: 3.316 MB / 1.061 GB Notification: Performance of Templates: time 0.01954/0.4551, allocations: 14.89 MB / 1.385 GB, free: 4.469 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 -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: 13.832300424110144]