Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 103.7 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 249.9 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.663/2.663, allocations: 443.5 MB / 0.731 GB, free: 12.85 MB / 0.5919 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=511,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=511,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 71.88 kB / 1.06 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7748/0.7767, allocations: 160.7 MB / 1.216 GB, free: 3.973 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002799/0.7795, allocations: 1.494 MB / 1.218 GB, free: 2.797 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007366/0.7802, allocations: 446.8 kB / 1.218 GB, free: 2.453 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.869e-05/0.7803, allocations: 4 kB / 1.218 GB, free: 2.449 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.605e-05/0.7803, allocations: 5.125 kB / 1.218 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.982e-05/0.7804, allocations: 8.922 kB / 1.218 GB, free: 2.438 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.7806, allocations: 20.23 kB / 1.218 GB, free: 2.422 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.494e-05/0.7806, allocations: 52.06 kB / 1.218 GB, free: 2.391 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.637e-05/0.7807, allocations: 12.36 kB / 1.218 GB, free: 2.383 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.665e-05/0.7808, allocations: 19.2 kB / 1.218 GB, free: 2.371 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.464e-05/0.7809, allocations: 25.38 kB / 1.219 GB, free: 2.352 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.7809, allocations: 4.344 kB / 1.219 GB, free: 2.352 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.167e-05/0.7809, allocations: 4.375 kB / 1.219 GB, free: 2.352 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.057e-05/0.7809, allocations: 14.38 kB / 1.219 GB, free: 2.34 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.41e-05/0.781, allocations: 21.92 kB / 1.219 GB, free: 2.324 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.7811, allocations: 46.19 kB / 1.219 GB, free: 2.293 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.7811, allocations: 1.094 kB / 1.219 GB, free: 2.293 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.253e-06/0.7811, allocations: 0 / 1.219 GB, free: 2.293 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.7811, allocations: 0 / 1.219 GB, free: 2.293 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005549/0.7816, allocations: 368.9 kB / 1.219 GB, free: 1.91 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.7817, allocations: 12.7 kB / 1.219 GB, free: 1.906 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.7817, allocations: 4.25 kB / 1.219 GB, free: 1.906 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.7819, allocations: 175 kB / 1.219 GB, free: 1.699 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.7819, allocations: 7.094 kB / 1.219 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.7819, allocations: 4.156 kB / 1.219 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.7821, allocations: 59.55 kB / 1.219 GB, free: 1.645 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.7821, allocations: 3.938 kB / 1.219 GB, free: 1.641 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.7821, allocations: 1.062 kB / 1.219 GB, free: 1.641 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.7821, allocations: 1.125 kB / 1.219 GB, free: 1.641 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.7822, allocations: 30.38 kB / 1.219 GB, free: 1.625 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005563/0.7828, allocations: 297.2 kB / 1.22 GB, free: 1.312 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.7829, allocations: 54.34 kB / 1.22 GB, free: 1.27 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.982e-05/0.7829, allocations: 23.44 kB / 1.22 GB, free: 1.254 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.783, allocations: 5.125 kB / 1.22 GB, free: 1.25 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000196/0.7831, allocations: 79.83 kB / 1.22 GB, free: 1.176 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.7831, allocations: 0 / 1.22 GB, free: 1.176 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0002684/0.7834, allocations: 97.59 kB / 1.22 GB, free: 1.117 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.7835, allocations: 65.47 kB / 1.22 GB, free: 1.043 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.568e-05/0.7836, allocations: 104.3 kB / 1.22 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.7836, allocations: 31.3 kB / 1.22 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.011e-05/0.7837, allocations: 85.94 kB / 1.22 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.7837, allocations: 19.17 kB / 1.22 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-05/0.7837, allocations: 33.64 kB / 1.22 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.7839, allocations: 325.1 kB / 1.22 GB, free: 456 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.91e-05/0.784, allocations: 17.39 kB / 1.22 GB, free: 448 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.178e-05/0.784, allocations: 44.33 kB / 1.22 GB, free: 404 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.7841, allocations: 67.06 kB / 1.221 GB, free: 348 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.7841, allocations: 1.156 kB / 1.221 GB, free: 348 kB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001622/0.7843, allocations: 98.16 kB / 1.221 GB, free: 280 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.7843, allocations: 5.062 kB / 1.221 GB, free: 280 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.7843, allocations: 1.125 kB / 1.221 GB, free: 280 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.7843, allocations: 1.375 kB / 1.221 GB, free: 280 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.925e-05/0.7844, allocations: 12.66 kB / 1.221 GB, free: 276 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.7844, allocations: 5.422 kB / 1.221 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.972e-05/0.7845, allocations: 13.06 kB / 1.221 GB, free: 264 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.7845, allocations: 2.406 kB / 1.221 GB, free: 264 kB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001129/0.7846, allocations: 124.1 kB / 1.221 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.7846, allocations: 2.531 kB / 1.221 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.492e-05/0.7847, allocations: 13.61 kB / 1.221 GB, free: 120 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.7847, allocations: 1.188 kB / 1.221 GB, free: 120 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.7847, allocations: 0 / 1.221 GB, free: 120 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.7847, allocations: 5.672 kB / 1.221 GB, free: 116 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004925/0.7852, allocations: 366.8 kB / 1.221 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7852, allocations: 0 / 1.221 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.639e-05/0.7852, allocations: 8 kB / 1.221 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.7852, allocations: 0 / 1.221 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.7852, allocations: 1.188 kB / 1.221 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.7852, allocations: 9.172 kB / 1.221 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.7852, allocations: 0 / 1.221 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.7854, allocations: 179.8 kB / 1.221 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6e-05/0.7855, allocations: 82.12 kB / 1.221 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.7855, allocations: 10.06 kB / 1.221 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.061e-05/0.7856, allocations: 15.19 kB / 1.221 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.7856, allocations: 7.172 kB / 1.221 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.383e-06/0.7856, allocations: 3.25 kB / 1.221 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.412e-05/0.7857, allocations: 86.2 kB / 1.222 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.7857, allocations: 0.75 kB / 1.222 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002348/0.7859, allocations: 15.84 kB / 1.222 GB, free: 15.38 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001291/0.786, allocations: 94.84 kB / 1.222 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002201/0.7863, allocations: 62.77 kB / 1.222 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7863, allocations: 0 / 1.222 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.678e-05/0.7863, allocations: 23.89 kB / 1.222 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.7866, allocations: 4.656 kB / 1.222 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004881/0.7871, allocations: 205.8 kB / 1.222 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004928/0.7876, allocations: 0.6832 MB / 1.223 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.574e-05/0.7876, allocations: 15.72 kB / 1.223 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of SimCode: time 2.9e-07/0.7876, allocations: 1.031 kB / 1.223 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of Templates: time 0.002457/0.7901, allocations: 0.8588 MB / 1.223 GB, free: 13.91 MB / 0.9356 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches