Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.001356/0.001356, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001573/0.001573, allocations: 196.7 kB / 22.17 MB, free: 5.211 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.456/1.456, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.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.821/2.821, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] 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.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 67.89 kB / 1.109 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9726/0.9748, allocations: 168.7 MB / 1.274 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002951/0.9778, allocations: 1.449 MB / 1.275 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008769/0.9786, allocations: 398.7 kB / 1.276 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.929e-05/0.9787, allocations: 0 / 1.276 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.319e-05/0.9787, allocations: 7.875 kB / 1.276 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.369e-05/0.9788, allocations: 0 / 1.276 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005194/0.9793, allocations: 122 kB / 1.276 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.492e-05/0.9794, allocations: 23.94 kB / 1.276 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.9795, allocations: 7.984 kB / 1.276 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.789e-05/0.9795, allocations: 11.92 kB / 1.276 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.549e-05/0.9796, allocations: 19.92 kB / 1.276 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.9796, allocations: 4 kB / 1.276 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004309/0.98, allocations: 279.6 kB / 1.276 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.487e-05/0.98, allocations: 4 kB / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.295e-05/0.98, allocations: 7.938 kB / 1.276 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.9803, allocations: 114.3 kB / 1.276 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/0.9803, allocations: 4 kB / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9803, allocations: 0 / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.9803, allocations: 0 / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006121/0.9809, allocations: 371.2 kB / 1.277 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.9809, allocations: 8.031 kB / 1.277 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.9811, allocations: 8.922 kB / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.9812, allocations: 168.3 kB / 1.277 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.9812, allocations: 384 / 1.277 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.9812, allocations: 4.375 kB / 1.277 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.9814, allocations: 54.17 kB / 1.277 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.9814, allocations: 192 / 1.277 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.9815, allocations: 3.938 kB / 1.277 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.9815, allocations: 4 kB / 1.277 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.9816, allocations: 31.97 kB / 1.277 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.982, allocations: 252.9 kB / 1.277 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.9822, allocations: 42.48 kB / 1.277 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.9823, allocations: 28.84 kB / 1.277 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008217/0.9831, allocations: 457.4 kB / 1.278 GB, free: 464 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/0.9832, allocations: 42.55 kB / 1.278 GB, free: 412 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.9832, allocations: 0 / 1.278 GB, free: 412 kB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0004266/0.9836, allocations: 77.66 kB / 1.278 GB, free: 328 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.9836, allocations: 55.39 kB / 1.278 GB, free: 260 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.674e-05/0.9837, allocations: 101.9 kB / 1.278 GB, free: 148 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.9838, allocations: 25.7 kB / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.704e-05/0.9838, allocations: 88.27 kB / 1.278 GB, free: 24 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.9838, allocations: 11.94 kB / 1.278 GB, free: 12 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.982e-05/0.9839, allocations: 9.719 kB / 1.278 GB, free: 16 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.984, allocations: 318.8 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.713e-05/0.9841, allocations: 15.92 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.866e-05/0.9842, allocations: 19.97 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.9844, allocations: 44.83 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.9844, allocations: 0 / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002239/0.9846, allocations: 73.55 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.9846, allocations: 8 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.9846, allocations: 0 / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.9847, allocations: 0 / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.9848, allocations: 12.02 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.9848, allocations: 0 / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.23e-05/0.9848, allocations: 4 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.9848, allocations: 8.188 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001032/0.9849, allocations: 114.3 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.985, allocations: 3.984 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.9852, allocations: 77.19 kB / 1.279 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.9852, allocations: 4 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.9852, allocations: 4 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.9852, allocations: 0 / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.9854, allocations: 161.6 kB / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.9854, allocations: 0 / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.814e-05/0.9855, allocations: 8 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.9855, allocations: 0 / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.9855, allocations: 0 / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.9855, allocations: 3.938 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.9855, allocations: 3.984 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.9858, allocations: 167.4 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.408e-05/0.9858, allocations: 89.05 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.9858, allocations: 0 / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.526e-05/0.9859, allocations: 4 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.986, allocations: 3.984 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.986, allocations: 4.031 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.963e-05/0.986, allocations: 83.28 kB / 1.279 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.986, allocations: 0 / 1.279 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002383/0.9862, allocations: 19.94 kB / 1.279 GB, free: 14.65 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002132/0.9865, allocations: 111.2 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002423/0.9867, allocations: 35.91 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.9867, allocations: 8.062 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.935e-05/0.9868, allocations: 19.97 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.9871, allocations: 9.5 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.9875, allocations: 125.4 kB / 1.28 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.9878, allocations: 0.6768 MB / 1.28 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.369e-05/0.9879, allocations: 0 / 1.28 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.9879, allocations: 19.44 kB / 1.28 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of SimCode: time 4.1e-07/0.9879, allocations: 0 / 1.28 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of Templates: time 0.003761/0.9916, allocations: 0.7155 MB / 1.281 GB, free: 12.88 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.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: 8.879178007133305]