Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001831/0.001831, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.002191/0.002191, allocations: 192.2 kB / 22.11 MB, free: 4.223 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.42/1.42, allocations: 225.6 MB / 250.8 MB, free: 2.91 MB / 190.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 2.872/2.872, allocations: 495.8 MB / 0.7831 GB, free: 12.45 MB / 0.6231 GB " [Timeout remaining time 176] 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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 67.89 kB / 1.137 GB, free: 12.26 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083/1.085, allocations: 173.6 MB / 1.307 GB, free: 33.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006718/1.092, allocations: 6.951 MB / 1.314 GB, free: 29.12 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004351/1.096, allocations: 3.148 MB / 1.317 GB, free: 27.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005482/1.097, allocations: 36.09 kB / 1.317 GB, free: 27.02 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002224/1.099, allocations: 0.9927 MB / 1.318 GB, free: 26.43 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001132/1.1, allocations: 0.5199 MB / 1.318 GB, free: 26.11 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009216/1.101, allocations: 437.2 kB / 1.319 GB, free: 25.89 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001033/1.102, allocations: 1.223 MB / 1.32 GB, free: 25.34 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006009/1.103, allocations: 479 kB / 1.32 GB, free: 25.11 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004642/1.103, allocations: 487.3 kB / 1.321 GB, free: 24.91 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005325/1.104, allocations: 0.5541 MB / 1.321 GB, free: 24.68 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.107e-05/1.104, allocations: 68.12 kB / 1.321 GB, free: 24.68 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005524/1.104, allocations: 344.4 kB / 1.322 GB, free: 24.58 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002236/1.105, allocations: 310.3 kB / 1.322 GB, free: 24.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000317/1.105, allocations: 455.6 kB / 1.322 GB, free: 24.19 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000999/1.106, allocations: 1.216 MB / 1.324 GB, free: 23.76 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.106, allocations: 0 / 1.324 GB, free: 23.76 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.333e-06/1.106, allocations: 2.781 kB / 1.324 GB, free: 23.76 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.213e-05/1.106, allocations: 0 / 1.324 GB, free: 23.76 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001616/1.107, allocations: 1.105 MB / 1.325 GB, free: 23.04 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/1.108, allocations: 11.31 kB / 1.325 GB, free: 23.04 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001495/1.109, allocations: 248.7 kB / 1.325 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008317/1.11, allocations: 0.5141 MB / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.114e-05/1.11, allocations: 47.23 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.97e-05/1.11, allocations: 65.89 kB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/1.111, allocations: 1.087 MB / 1.327 GB, free: 22 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/1.111, allocations: 10.38 kB / 1.327 GB, free: 21.99 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.844e-05/1.111, allocations: 34.33 kB / 1.327 GB, free: 21.96 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001331/1.111, allocations: 86.14 kB / 1.327 GB, free: 21.95 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/1.113, allocations: 0.7522 MB / 1.327 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004497/1.117, allocations: 5.783 MB / 1.333 GB, free: 16.72 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/1.118, allocations: 0.5067 MB / 1.334 GB, free: 16.53 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004351/1.119, allocations: 291.1 kB / 1.334 GB, free: 16.42 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.911e-05/1.119, allocations: 9.156 kB / 1.334 GB, free: 16.42 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/1.119, allocations: 38.59 kB / 1.334 GB, free: 16.38 MB / 1.061 GB Notification: Performance of pre-optimization done (n=47): time 2.575e-06/1.119, allocations: 0 / 1.334 GB, free: 16.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=48): time 0.004324/1.123, allocations: 1.689 MB / 1.335 GB, free: 15.69 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/1.123, allocations: 57.12 kB / 1.336 GB, free: 15.62 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008042/1.124, allocations: 0.5545 MB / 1.336 GB, free: 15.37 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/1.124, allocations: 36.42 kB / 1.336 GB, free: 15.33 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/1.124, allocations: 427.8 kB / 1.337 GB, free: 14.98 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/1.124, allocations: 174.9 kB / 1.337 GB, free: 14.85 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/1.124, allocations: 128.8 kB / 1.337 GB, free: 14.78 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.974e-05/1.124, allocations: 377.9 kB / 1.337 GB, free: 14.43 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000416/1.125, allocations: 275.5 kB / 1.337 GB, free: 14.34 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004978/1.125, allocations: 495.5 kB / 1.338 GB, free: 13.97 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009625/1.126, allocations: 0.8082 MB / 1.339 GB, free: 13.43 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/1.126, allocations: 2.75 kB / 1.339 GB, free: 13.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001904/1.128, allocations: 1.076 MB / 1.34 GB, free: 12.97 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/1.128, allocations: 7.844 kB / 1.34 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/1.128, allocations: 11.91 kB / 1.34 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009167/1.129, allocations: 281.3 kB / 1.34 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005334/1.13, allocations: 124.4 kB / 1.34 GB, free: 12.87 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005483/1.135, allocations: 6.742 MB / 1.347 GB, free: 7.125 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008036/1.136, allocations: 38.81 kB / 1.347 GB, free: 7.113 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.744e-05/1.136, allocations: 28.53 kB / 1.347 GB, free: 7.109 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (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.0004192/1.136, allocations: 263.7 kB / 1.347 GB, free: 6.914 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/1.137, allocations: 71.2 kB / 1.347 GB, free: 6.879 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/1.138, allocations: 0.8821 MB / 1.348 GB, free: 6.488 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/1.138, allocations: 6.188 kB / 1.348 GB, free: 6.488 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.138, allocations: 3.25 kB / 1.348 GB, free: 6.488 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/1.138, allocations: 2.156 kB / 1.348 GB, free: 6.488 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002756/1.141, allocations: 1.679 MB / 1.35 GB, free: 5.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/1.141, allocations: 2.047 kB / 1.35 GB, free: 5.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002793/1.141, allocations: 64.03 kB / 1.35 GB, free: 5.652 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008173/1.142, allocations: 269.4 kB / 1.35 GB, free: 5.562 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.616e-05/1.142, allocations: 12.83 kB / 1.35 GB, free: 5.555 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005557/1.148, allocations: 6.716 MB / 1.357 GB, free: 15.83 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/1.148, allocations: 5.859 kB / 1.357 GB, free: 15.83 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/1.15, allocations: 0.9782 MB / 1.357 GB, free: 15.31 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004291/1.15, allocations: 120.6 kB / 1.358 GB, free: 15.25 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/1.15, allocations: 8.641 kB / 1.358 GB, free: 15.25 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004855/1.151, allocations: 41.58 kB / 1.358 GB, free: 15.23 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/1.151, allocations: 43.11 kB / 1.358 GB, free: 15.22 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-05/1.151, allocations: 14.66 kB / 1.358 GB, free: 15.21 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006116/1.152, allocations: 390.8 kB / 1.358 GB, free: 15.04 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.152, allocations: 0 / 1.358 GB, free: 15.04 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001097/1.153, allocations: 224.6 kB / 1.358 GB, free: 15.01 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001717/1.153, allocations: 112.3 kB / 1.358 GB, free: 14.91 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002353/1.155, allocations: 1.227 MB / 1.36 GB, free: 14.2 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.155, allocations: 1.125 kB / 1.36 GB, free: 14.2 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001469/1.157, allocations: 0.8642 MB / 1.36 GB, free: 13.6 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/1.158, allocations: 221.1 kB / 1.361 GB, free: 13.52 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/1.161, allocations: 1.352 MB / 1.362 GB, free: 12.79 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008901/1.162, allocations: 1.014 MB / 1.363 GB, free: 12.05 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004916/1.162, allocations: 118.4 kB / 1.363 GB, free: 12.03 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/1.162, allocations: 41.98 kB / 1.363 GB, free: 12.02 MB / 1.076 GB Notification: Performance of SimCode: time 1.142e-06/1.162, allocations: 0 / 1.363 GB, free: 12.02 MB / 1.076 GB Notification: Performance of Templates: time 0.02567/1.188, allocations: 11.84 MB / 1.375 GB, free: 11.23 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.554983949288726]