Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001653/0.001653, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.001871/0.001871, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.515/1.515, allocations: 225.6 MB / 249.4 MB, free: 3.164 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.848/2.848, allocations: 476.7 MB / 0.7629 GB, free: 15.33 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.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_11_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_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 67.89 kB / 1.107 GB, free: 4.703 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.092/1.094, allocations: 168.7 MB / 1.272 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005311/1.1, allocations: 3.193 MB / 1.275 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003447/1.103, allocations: 1.988 MB / 1.277 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002716/1.103, allocations: 4.188 kB / 1.277 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001149/1.105, allocations: 291.6 kB / 1.277 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006963/1.105, allocations: 200.3 kB / 1.277 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009567/1.106, allocations: 241.5 kB / 1.278 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005139/1.107, allocations: 320.7 kB / 1.278 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003709/1.107, allocations: 139.2 kB / 1.278 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002557/1.107, allocations: 141.4 kB / 1.278 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003617/1.108, allocations: 158.1 kB / 1.278 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.97e-05/1.108, allocations: 20.03 kB / 1.278 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009184/1.109, allocations: 406 kB / 1.279 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001291/1.109, allocations: 93.42 kB / 1.279 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001496/1.109, allocations: 122.8 kB / 1.279 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009093/1.11, allocations: 489 kB / 1.28 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.11, allocations: 0 / 1.28 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.543e-06/1.11, allocations: 0.75 kB / 1.28 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.656e-06/1.11, allocations: 0 / 1.28 GB, free: 3.387 MB / 0.9981 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.0009984/1.111, allocations: 0.562 MB / 1.28 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/1.111, allocations: 13.36 kB / 1.28 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009216/1.112, allocations: 113.9 kB / 1.28 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/1.112, allocations: 269.4 kB / 1.28 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/1.112, allocations: 16.19 kB / 1.28 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.205e-05/1.112, allocations: 16.97 kB / 1.28 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006982/1.113, allocations: 360.1 kB / 1.281 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/1.113, allocations: 0.875 kB / 1.281 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/1.113, allocations: 6.594 kB / 1.281 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.283e-05/1.113, allocations: 25.86 kB / 1.281 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000532/1.114, allocations: 295.3 kB / 1.281 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002108/1.116, allocations: 1.737 MB / 1.283 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004749/1.116, allocations: 316.9 kB / 1.283 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/1.116, allocations: 98.62 kB / 1.283 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/1.117, allocations: 94.89 kB / 1.283 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/1.117, allocations: 36.7 kB / 1.283 GB, free: 460 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 2.595e-06/1.117, allocations: 0 / 1.283 GB, free: 460 kB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.002589/1.119, allocations: 0.9735 MB / 1.284 GB, free: 0 / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/1.119, allocations: 81.05 kB / 1.284 GB, free: 15.9 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/1.12, allocations: 217.1 kB / 1.285 GB, free: 15.75 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/1.12, allocations: 29.7 kB / 1.285 GB, free: 15.72 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/1.12, allocations: 173.6 kB / 1.285 GB, free: 15.57 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.417e-05/1.12, allocations: 84.55 kB / 1.285 GB, free: 15.5 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/1.12, allocations: 63.86 kB / 1.285 GB, free: 15.46 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002034/1.12, allocations: 328.6 kB / 1.285 GB, free: 15.14 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/1.12, allocations: 131.9 kB / 1.285 GB, free: 15.1 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003203/1.121, allocations: 208.3 kB / 1.286 GB, free: 14.96 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005517/1.121, allocations: 368.3 kB / 1.286 GB, free: 14.73 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/1.121, allocations: 1.688 kB / 1.286 GB, free: 14.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001014/1.122, allocations: 0.5129 MB / 1.286 GB, free: 14.49 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/1.122, allocations: 10.59 kB / 1.286 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.122, allocations: 2.062 kB / 1.286 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006313/1.123, allocations: 157.1 kB / 1.287 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/1.123, allocations: 55.81 kB / 1.287 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003984/1.127, allocations: 4.193 MB / 1.291 GB, free: 10.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002831/1.128, allocations: 21.48 kB / 1.291 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/1.128, allocations: 13.58 kB / 1.291 GB, free: 10.39 MB / 1.014 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.0002702/1.128, allocations: 163 kB / 1.291 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.423e-05/1.128, allocations: 24.95 kB / 1.291 GB, free: 10.24 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/1.129, allocations: 476.4 kB / 1.291 GB, free: 10 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/1.129, allocations: 2.5 kB / 1.291 GB, free: 10 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/1.129, allocations: 1.938 kB / 1.291 GB, free: 10 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/1.129, allocations: 1.922 kB / 1.291 GB, free: 10 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/1.131, allocations: 1.013 MB / 1.292 GB, free: 9.352 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/1.131, allocations: 3.312 kB / 1.292 GB, free: 9.352 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/1.131, allocations: 33.41 kB / 1.292 GB, free: 9.348 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004387/1.131, allocations: 138.8 kB / 1.293 GB, free: 9.289 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/1.131, allocations: 8.719 kB / 1.293 GB, free: 9.285 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00357/1.135, allocations: 4.167 MB / 1.297 GB, free: 5.27 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/1.135, allocations: 3.156 kB / 1.297 GB, free: 5.27 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/1.136, allocations: 0.6205 MB / 1.297 GB, free: 4.824 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/1.136, allocations: 122.4 kB / 1.297 GB, free: 4.711 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.206e-05/1.136, allocations: 12.48 kB / 1.297 GB, free: 4.703 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/1.136, allocations: 19.12 kB / 1.297 GB, free: 4.699 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/1.136, allocations: 21.81 kB / 1.297 GB, free: 4.695 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/1.137, allocations: 15.84 kB / 1.297 GB, free: 4.688 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001893/1.137, allocations: 164.1 kB / 1.298 GB, free: 4.582 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/1.137, allocations: 2.844 kB / 1.298 GB, free: 4.582 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006089/1.137, allocations: 86.67 kB / 1.298 GB, free: 4.57 MB / 1.014 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.000249/1.138, allocations: 136.8 kB / 1.298 GB, free: 4.461 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001034/1.139, allocations: 0.5722 MB / 1.298 GB, free: 4.117 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/1.139, allocations: 4 kB / 1.298 GB, free: 4.113 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005472/1.139, allocations: 396.6 kB / 1.299 GB, free: 3.832 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005239/1.14, allocations: 49.33 kB / 1.299 GB, free: 3.812 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/1.141, allocations: 0.63 MB / 1.299 GB, free: 3.422 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/1.141, allocations: 0.7815 MB / 1.3 GB, free: 2.711 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001828/1.142, allocations: 65.58 kB / 1.3 GB, free: 2.699 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.327e-05/1.142, allocations: 19.19 kB / 1.3 GB, free: 2.691 MB / 1.014 GB Notification: Performance of SimCode: time 6.62e-07/1.142, allocations: 2 kB / 1.3 GB, free: 2.691 MB / 1.014 GB Notification: Performance of Templates: time 0.01089/1.152, allocations: 4.353 MB / 1.304 GB, free: 2.359 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.449406611733139]