Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.001766/0.001766, allocations: 84.36 kB / 19.76 MB, free: 2.023 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.001927/0.001927, allocations: 156.9 kB / 23.01 MB, free: 4.961 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.482/1.482, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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.694/2.694, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 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,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [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.002163/0.002163, allocations: 71.89 kB / 0.9515 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3168, allocations: 169.9 MB / 1.117 GB, free: 2.523 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01525/0.3321, allocations: 10.34 MB / 1.128 GB, free: 8.133 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.6083/0.9403, allocations: 8.48 MB / 1.136 GB, free: 43.62 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001554/0.9419, allocations: 90.31 kB / 1.136 GB, free: 43.62 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003742/0.9456, allocations: 1.667 MB / 1.138 GB, free: 43.62 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003449/0.9491, allocations: 1.567 MB / 1.139 GB, free: 43.57 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.9505, allocations: 0.6752 MB / 1.14 GB, free: 43.56 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001845/0.9524, allocations: 2.287 MB / 1.142 GB, free: 43.12 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.9536, allocations: 1.132 MB / 1.143 GB, free: 42.98 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001325/0.9549, allocations: 1.188 MB / 1.144 GB, free: 42.79 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009982/0.9559, allocations: 0.9256 MB / 1.145 GB, free: 42.6 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.9561, allocations: 140 kB / 1.145 GB, free: 42.59 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.9571, allocations: 0.7355 MB / 1.146 GB, free: 42.54 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004095/0.9576, allocations: 0.571 MB / 1.147 GB, free: 42.45 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006273/0.9582, allocations: 0.7141 MB / 1.147 GB, free: 42.25 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002048/0.9602, allocations: 2.582 MB / 1.15 GB, free: 41.8 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.9602, allocations: 4 kB / 1.15 GB, free: 41.79 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9602, allocations: 0 / 1.15 GB, free: 41.79 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.361e-05/0.9603, allocations: 0 / 1.15 GB, free: 41.79 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.002671/0.9629, allocations: 1.99 MB / 1.152 GB, free: 40.56 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.963, allocations: 8 kB / 1.152 GB, free: 40.56 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01065/0.9736, allocations: 2.056 MB / 1.154 GB, free: 40.43 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/0.9754, allocations: 1.125 MB / 1.155 GB, free: 39.8 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.178e-05/0.9754, allocations: 87.12 kB / 1.155 GB, free: 39.77 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001865/0.9756, allocations: 118.4 kB / 1.155 GB, free: 39.73 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00467/0.9803, allocations: 2.706 MB / 1.158 GB, free: 38.47 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.957e-05/0.9803, allocations: 6.531 kB / 1.158 GB, free: 38.46 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.9805, allocations: 55.81 kB / 1.158 GB, free: 38.43 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000313/0.9808, allocations: 130.7 kB / 1.158 GB, free: 38.42 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00669/0.9875, allocations: 2.541 MB / 1.16 GB, free: 37.79 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009924/0.9974, allocations: 7.476 MB / 1.168 GB, free: 33.2 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007061/1.004, allocations: 1.852 MB / 1.169 GB, free: 32.84 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00297/1.007, allocations: 0.9456 MB / 1.17 GB, free: 32.62 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.101e-05/1.007, allocations: 10.44 kB / 1.17 GB, free: 32.62 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/1.007, allocations: 39.72 kB / 1.17 GB, free: 32.57 MB / 1.076 GB Notification: Performance of pre-optimization done (n=53): time 2.295e-06/1.007, allocations: 2.906 kB / 1.17 GB, free: 32.57 MB / 1.076 GB Notification: Performance of matching and sorting (n=81): time 0.03379/1.041, allocations: 9.101 MB / 1.179 GB, free: 30.65 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/1.041, allocations: 64.59 kB / 1.179 GB, free: 30.58 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/1.043, allocations: 0.9605 MB / 1.18 GB, free: 30.18 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.955e-05/1.043, allocations: 42.64 kB / 1.18 GB, free: 30.14 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000486/1.043, allocations: 0.7581 MB / 1.181 GB, free: 29.54 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002154/1.043, allocations: 298.2 kB / 1.181 GB, free: 29.31 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003788/1.044, allocations: 197 kB / 1.182 GB, free: 29.23 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.35e-05/1.044, allocations: 343.9 kB / 1.182 GB, free: 28.91 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003148/1.047, allocations: 1.088 MB / 1.183 GB, free: 28.62 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003205/1.05, allocations: 1.317 MB / 1.184 GB, free: 28.07 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006323/1.057, allocations: 2.398 MB / 1.187 GB, free: 27.14 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/1.057, allocations: 2.25 kB / 1.187 GB, free: 27.14 MB / 1.076 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009206/1.066, allocations: 3.271 MB / 1.19 GB, free: 26.09 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/1.066, allocations: 11.91 kB / 1.19 GB, free: 26.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/1.066, allocations: 8.5 kB / 1.19 GB, free: 26.09 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00303/1.069, allocations: 0.8601 MB / 1.191 GB, free: 25.83 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00202/1.071, allocations: 422.7 kB / 1.191 GB, free: 25.8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01374/1.085, allocations: 15.02 MB / 1.206 GB, free: 13.75 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002528/1.087, allocations: 291.8 kB / 1.206 GB, free: 13.74 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/1.087, allocations: 52.08 kB / 1.206 GB, free: 13.73 MB / 1.076 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0008041/1.088, allocations: 403.8 kB / 1.206 GB, free: 13.47 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/1.088, allocations: 136.3 kB / 1.207 GB, free: 13.4 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009132/1.097, allocations: 3.201 MB / 1.21 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/1.097, allocations: 8.281 kB / 1.21 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/1.097, allocations: 8.062 kB / 1.21 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/1.097, allocations: 3.938 kB / 1.21 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/1.109, allocations: 4.525 MB / 1.214 GB, free: 10.78 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/1.109, allocations: 3.266 kB / 1.214 GB, free: 10.78 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001745/1.11, allocations: 360.3 kB / 1.214 GB, free: 10.77 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00267/1.113, allocations: 0.7706 MB / 1.215 GB, free: 10.53 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.866e-05/1.113, allocations: 36.72 kB / 1.215 GB, free: 10.52 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01459/1.128, allocations: 14.64 MB / 1.23 GB, free: 14.6 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.128, allocations: 3.062 kB / 1.23 GB, free: 14.6 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008562/1.136, allocations: 3.048 MB / 1.233 GB, free: 13.54 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007596/1.137, allocations: 300.1 kB / 1.233 GB, free: 13.38 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/1.137, allocations: 24.59 kB / 1.233 GB, free: 13.37 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001899/1.139, allocations: 298.1 kB / 1.233 GB, free: 13.35 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002759/1.139, allocations: 83.47 kB / 1.233 GB, free: 13.34 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.921e-05/1.14, allocations: 35.7 kB / 1.233 GB, free: 13.33 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0008463/1.14, allocations: 0.6385 MB / 1.234 GB, free: 13.06 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/1.14, allocations: 0 / 1.234 GB, free: 13.06 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001644/1.142, allocations: 442.8 kB / 1.234 GB, free: 13.02 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002215/1.142, allocations: 129.2 kB / 1.234 GB, free: 12.91 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.008403/1.151, allocations: 3.544 MB / 1.238 GB, free: 11.27 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/1.151, allocations: 9.344 kB / 1.238 GB, free: 11.26 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.00501/1.156, allocations: 2.34 MB / 1.24 GB, free: 9.57 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/1.158, allocations: 487.6 kB / 1.241 GB, free: 9.336 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009573/1.167, allocations: 3.798 MB / 1.244 GB, free: 7.141 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009974/1.168, allocations: 0.8036 MB / 1.245 GB, free: 6.684 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.00126/1.17, allocations: 360 kB / 1.245 GB, free: 6.496 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003377/1.17, allocations: 98.69 kB / 1.246 GB, free: 6.469 MB / 1.092 GB Notification: Performance of SimCode: time 8.02e-07/1.17, allocations: 0 / 1.246 GB, free: 6.469 MB / 1.092 GB Notification: Performance of Templates: time 0.05318/1.223, allocations: 31.41 MB / 1.276 GB, free: 1.574 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.667632208904251]