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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 113.8 kB / 17.61 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.001756/0.001756, allocations: 186 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.512/1.512, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.758/2.758, allocations: 443.5 MB / 0.7304 GB, free: 13.85 MB / 0.5762 GB " [Timeout remaining time 176] 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=2500,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=2500,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.001944/0.001944, allocations: 63.91 kB / 1.059 GB, free: 392 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3692, allocations: 160.7 MB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.003025/0.3722, allocations: 1.479 MB / 1.218 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008536/0.3731, allocations: 459.8 kB / 1.218 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.007e-05/0.3731, allocations: 4 kB / 1.218 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.697e-05/0.3732, allocations: 3.938 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.603e-05/0.3733, allocations: 7.875 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.3734, allocations: 23.92 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.3735, allocations: 51.89 kB / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.3737, allocations: 11.98 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.877e-05/0.3737, allocations: 23.92 kB / 1.218 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.092e-05/0.3738, allocations: 15.92 kB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.3738, allocations: 8 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.336e-05/0.3738, allocations: 8 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.641e-05/0.3739, allocations: 11.92 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.473e-05/0.3739, allocations: 23.88 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.374, allocations: 51.73 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.374, allocations: 0 / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.463e-06/0.374, allocations: 0 / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.374, allocations: 0 / 1.218 GB, free: 13.16 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000634/0.3747, allocations: 359.3 kB / 1.219 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.3747, allocations: 12.03 kB / 1.219 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.3748, allocations: 8.938 kB / 1.219 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.3749, allocations: 172.3 kB / 1.219 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.3749, allocations: 8.312 kB / 1.219 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.375, allocations: 4.375 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.3751, allocations: 61.92 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3751, allocations: 0 / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.3751, allocations: 4 kB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.3751, allocations: 4 kB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.139e-05/0.3752, allocations: 19.98 kB / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/0.3757, allocations: 308.7 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.3758, allocations: 46.56 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.968e-05/0.3759, allocations: 28.94 kB / 1.219 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.3759, allocations: 0 / 1.219 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001914/0.3761, allocations: 87.36 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.3761, allocations: 0 / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0002454/0.3763, allocations: 97.61 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/0.3764, allocations: 55.41 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.213e-05/0.3765, allocations: 105.8 kB / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.3765, allocations: 33.7 kB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.478e-05/0.3766, allocations: 84.14 kB / 1.22 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.3766, allocations: 19.8 kB / 1.22 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.206e-05/0.3767, allocations: 33.7 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3768, allocations: 326.8 kB / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.554e-05/0.3768, allocations: 12 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.501e-05/0.3769, allocations: 55.67 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.377, allocations: 67.36 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.377, allocations: 4 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001445/0.3772, allocations: 97.52 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3772, allocations: 7.938 kB / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3772, allocations: 0 / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.3772, allocations: 7.984 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-05/0.3773, allocations: 12 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3773, allocations: 0 / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.16e-05/0.3773, allocations: 7.984 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.3773, allocations: 4 kB / 1.22 GB, free: 10.8 MB / 0.9669 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.0001147/0.3775, allocations: 127.6 kB / 1.22 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.3775, allocations: 4 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.499e-05/0.3775, allocations: 7.969 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.3775, allocations: 0 / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3775, allocations: 0 / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.3775, allocations: 4 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004597/0.378, allocations: 366.3 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.378, allocations: 3.984 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.456e-05/0.378, allocations: 8 kB / 1.221 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.378, allocations: 288 / 1.221 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.378, allocations: 0 / 1.221 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.378, allocations: 3.938 kB / 1.221 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.378, allocations: 4 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.3782, allocations: 187.4 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.188e-05/0.3783, allocations: 77.11 kB / 1.221 GB, free: 9.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.3783, allocations: 4.062 kB / 1.221 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.255e-05/0.3784, allocations: 15.92 kB / 1.221 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.3784, allocations: 8 kB / 1.221 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.3785, allocations: 7.984 kB / 1.221 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.474e-05/0.3785, allocations: 79.28 kB / 1.221 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3785, allocations: 0 / 1.221 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002237/0.3787, allocations: 16.19 kB / 1.221 GB, free: 9.793 MB / 0.9669 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.0001191/0.3789, allocations: 102.4 kB / 1.221 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001555/0.379, allocations: 63.78 kB / 1.221 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.379, allocations: 0 / 1.221 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.751e-05/0.3791, allocations: 23.94 kB / 1.221 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.3794, allocations: 15.97 kB / 1.221 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004276/0.3798, allocations: 169.2 kB / 1.221 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.3802, allocations: 0.6912 MB / 1.222 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.92e-05/0.3802, allocations: 8.062 kB / 1.222 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.287e-05/0.3802, allocations: 11.44 kB / 1.222 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of SimCode: time 6.91e-07/0.3802, allocations: 0 / 1.222 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of Templates: time 0.003499/0.3837, allocations: 0.7903 MB / 1.223 GB, free: 7.875 MB / 0.9669 GB " [Timeout remaining time 300] 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/jenkins/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 [Calling sys.exit(0), Time elapsed: 8.61316959746182]