Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001399/0.001399, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001531/0.001531, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.558/1.558, allocations: 230.6 MB / 256 MB, free: 7.785 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.301/3.301, allocations: 0.4892 GB / 0.7943 GB, free: 35.56 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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [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.002099/0.002099, allocations: 74.34 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4084, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005978/0.4144, allocations: 3.061 MB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00376/0.4182, allocations: 1.878 MB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/0.4184, allocations: 7.938 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.4195, allocations: 290.6 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006259/0.4202, allocations: 195.1 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008899/0.4211, allocations: 251.2 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005605/0.4216, allocations: 326.9 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004012/0.422, allocations: 149.1 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003346/0.4224, allocations: 143.5 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003943/0.4228, allocations: 143.5 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.908e-05/0.4228, allocations: 20 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007936/0.4236, allocations: 383.2 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.4237, allocations: 83.73 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002421/0.424, allocations: 103.5 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.425, allocations: 498.3 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.425, allocations: 0 / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.054e-06/0.425, allocations: 4 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.425, allocations: 0 / 1.333 GB, free: 10.39 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001232/0.4263, allocations: 0.501 MB / 1.333 GB, free: 9.863 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.4263, allocations: 8.031 kB / 1.333 GB, free: 9.855 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000868/0.4272, allocations: 108.7 kB / 1.333 GB, free: 9.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004877/0.4277, allocations: 211.3 kB / 1.334 GB, free: 9.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.4277, allocations: 16.8 kB / 1.334 GB, free: 9.504 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.609e-05/0.4277, allocations: 16.38 kB / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007047/0.4284, allocations: 408.4 kB / 1.334 GB, free: 9.051 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.4285, allocations: 3.984 kB / 1.334 GB, free: 9.047 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.4285, allocations: 12 kB / 1.334 GB, free: 9.035 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-05/0.4285, allocations: 20.42 kB / 1.334 GB, free: 9.016 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005704/0.4291, allocations: 297.5 kB / 1.334 GB, free: 8.727 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002368/0.4315, allocations: 1.229 MB / 1.336 GB, free: 7.441 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005793/0.4321, allocations: 241 kB / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.4322, allocations: 97.67 kB / 1.336 GB, free: 7.086 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.644e-05/0.4323, allocations: 15.98 kB / 1.336 GB, free: 7.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/0.4324, allocations: 42.5 kB / 1.336 GB, free: 7.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.4324, allocations: 0 / 1.336 GB, free: 7.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.002727/0.4351, allocations: 0.8932 MB / 1.337 GB, free: 6.109 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.183e-05/0.4352, allocations: 81.11 kB / 1.337 GB, free: 6.012 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.4355, allocations: 215 kB / 1.337 GB, free: 5.789 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.4355, allocations: 33.73 kB / 1.337 GB, free: 5.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.4356, allocations: 172.4 kB / 1.337 GB, free: 5.574 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.858e-05/0.4357, allocations: 95.28 kB / 1.337 GB, free: 5.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.4358, allocations: 61.64 kB / 1.337 GB, free: 5.414 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002298/0.4361, allocations: 334.8 kB / 1.338 GB, free: 5.078 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/0.4363, allocations: 135.9 kB / 1.338 GB, free: 4.945 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000384/0.4367, allocations: 205.2 kB / 1.338 GB, free: 4.711 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000687/0.4374, allocations: 369.3 kB / 1.338 GB, free: 4.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.4374, allocations: 3.984 kB / 1.338 GB, free: 4.316 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001009/0.4384, allocations: 0.5083 MB / 1.339 GB, free: 3.789 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.4384, allocations: 4 kB / 1.339 GB, free: 3.785 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.4384, allocations: 7.984 kB / 1.339 GB, free: 3.777 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005891/0.439, allocations: 147.3 kB / 1.339 GB, free: 3.621 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.4393, allocations: 55.91 kB / 1.339 GB, free: 3.566 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004488/0.4438, allocations: 3.941 MB / 1.343 GB, free: 15.37 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.444, allocations: 19.97 kB / 1.343 GB, free: 15.35 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.444, allocations: 12 kB / 1.343 GB, free: 15.34 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002437/0.4443, allocations: 162.3 kB / 1.343 GB, free: 15.17 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.115e-05/0.4444, allocations: 23.84 kB / 1.343 GB, free: 15.14 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/0.4455, allocations: 472.7 kB / 1.344 GB, free: 14.67 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.4455, allocations: 4 kB / 1.344 GB, free: 14.66 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.4455, allocations: 3.938 kB / 1.344 GB, free: 14.66 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.4455, allocations: 7.984 kB / 1.344 GB, free: 14.65 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/0.4475, allocations: 0.8878 MB / 1.345 GB, free: 13.69 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.4475, allocations: 4 kB / 1.345 GB, free: 13.69 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.4476, allocations: 27.98 kB / 1.345 GB, free: 13.66 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000474/0.4481, allocations: 151.2 kB / 1.345 GB, free: 13.5 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.4481, allocations: 4 kB / 1.345 GB, free: 13.5 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003988/0.4521, allocations: 3.904 MB / 1.349 GB, free: 9.336 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.4521, allocations: 4.062 kB / 1.349 GB, free: 9.332 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.4533, allocations: 0.6254 MB / 1.349 GB, free: 8.652 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/0.4534, allocations: 51.83 kB / 1.349 GB, free: 8.602 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.554e-05/0.4535, allocations: 8 kB / 1.349 GB, free: 8.594 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.4537, allocations: 15.97 kB / 1.349 GB, free: 8.578 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.34e-05/0.4538, allocations: 27.91 kB / 1.349 GB, free: 8.551 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.4538, allocations: 12 kB / 1.349 GB, free: 8.539 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002837/0.4541, allocations: 148.2 kB / 1.349 GB, free: 8.395 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4541, allocations: 4 kB / 1.349 GB, free: 8.391 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00062/0.4547, allocations: 95.92 kB / 1.349 GB, free: 8.297 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002986/0.455, allocations: 139.6 kB / 1.35 GB, free: 8.148 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001155/0.4562, allocations: 0.5704 MB / 1.35 GB, free: 7.555 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/0.4562, allocations: 7.938 kB / 1.35 GB, free: 7.547 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006069/0.4568, allocations: 385.1 kB / 1.351 GB, free: 7.145 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006863/0.4575, allocations: 47.78 kB / 1.351 GB, free: 7.102 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.459, allocations: 0.6385 MB / 1.351 GB, free: 6.414 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.4593, allocations: 169.2 kB / 1.351 GB, free: 6.227 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001891/0.4595, allocations: 66.23 kB / 1.351 GB, free: 6.16 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.842e-05/0.4596, allocations: 19.44 kB / 1.351 GB, free: 6.141 MB / 1.045 GB Notification: Performance of SimCode: time 7.11e-07/0.4596, allocations: 0 / 1.351 GB, free: 6.141 MB / 1.045 GB Notification: Performance of Templates: time 0.01094/0.4705, allocations: 4.401 MB / 1.356 GB, free: 1.801 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.560444846749306]