Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001873/0.001873, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001466/0.001466, allocations: 190.4 kB / 22.11 MB, free: 5.156 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.498/1.498, allocations: 225.6 MB / 250.8 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.223/3.223, allocations: 495.8 MB / 0.783 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Controls.Continuous.Examples.OffTimer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 66.92 kB / 1.137 GB, free: 33.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3483, allocations: 173.6 MB / 1.307 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.003639/0.352, allocations: 1.496 MB / 1.308 GB, free: 392 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.353, allocations: 443 kB / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.347e-05/0.3531, allocations: 11.88 kB / 1.309 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.823e-05/0.3531, allocations: 0 / 1.309 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.187e-05/0.3532, allocations: 15.81 kB / 1.309 GB, free: 15.92 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.3534, allocations: 23.97 kB / 1.309 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.3535, allocations: 51.84 kB / 1.309 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.3537, allocations: 11.98 kB / 1.309 GB, free: 15.83 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.234e-05/0.3537, allocations: 23.92 kB / 1.309 GB, free: 15.81 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.869e-05/0.3538, allocations: 15.92 kB / 1.309 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.3538, allocations: 4 kB / 1.309 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.318e-05/0.3539, allocations: 4 kB / 1.309 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.508e-05/0.3539, allocations: 15.98 kB / 1.309 GB, free: 15.77 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.231e-05/0.354, allocations: 23.86 kB / 1.309 GB, free: 15.75 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.3541, allocations: 51.69 kB / 1.309 GB, free: 15.7 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.3541, allocations: 4 kB / 1.309 GB, free: 15.69 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.815e-06/0.3541, allocations: 0 / 1.309 GB, free: 15.69 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.3541, allocations: 0 / 1.309 GB, free: 15.69 MB / 1.014 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.0006742/0.3548, allocations: 290.2 kB / 1.309 GB, free: 15.38 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.3549, allocations: 8.031 kB / 1.309 GB, free: 15.37 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.3549, allocations: 4.938 kB / 1.309 GB, free: 15.37 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.355, allocations: 114.5 kB / 1.309 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.3551, allocations: 4.375 kB / 1.309 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.3551, allocations: 12.36 kB / 1.309 GB, free: 15.21 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.3552, allocations: 57.94 kB / 1.309 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3552, allocations: 0 / 1.309 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.3552, allocations: 0 / 1.309 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3552, allocations: 4 kB / 1.309 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.469e-05/0.3553, allocations: 23.98 kB / 1.309 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005556/0.3559, allocations: 275.8 kB / 1.31 GB, free: 14.81 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.356, allocations: 50.56 kB / 1.31 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.616e-05/0.356, allocations: 20.95 kB / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.3561, allocations: 0 / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002097/0.3563, allocations: 87.3 kB / 1.31 GB, free: 14.63 MB / 1.014 GB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.3563, allocations: 0 / 1.31 GB, free: 14.63 MB / 1.014 GB Notification: Performance of matching and sorting (n=9): time 0.0002649/0.3565, allocations: 101.6 kB / 1.31 GB, free: 14.53 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.3566, allocations: 55.41 kB / 1.31 GB, free: 14.46 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.97e-05/0.3567, allocations: 109.8 kB / 1.31 GB, free: 14.34 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.3567, allocations: 33.69 kB / 1.31 GB, free: 14.3 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.302e-05/0.3568, allocations: 80.14 kB / 1.31 GB, free: 14.22 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.3568, allocations: 23.8 kB / 1.31 GB, free: 14.2 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.3568, allocations: 29.7 kB / 1.31 GB, free: 14.16 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.357, allocations: 322.8 kB / 1.31 GB, free: 13.84 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.18e-05/0.357, allocations: 19.98 kB / 1.31 GB, free: 13.82 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-05/0.3571, allocations: 51.36 kB / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.3572, allocations: 63.38 kB / 1.311 GB, free: 13.68 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.3572, allocations: 4 kB / 1.311 GB, free: 13.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001731/0.3574, allocations: 97.56 kB / 1.311 GB, free: 13.58 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3574, allocations: 4 kB / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3574, allocations: 0 / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.3574, allocations: 4 kB / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.943e-05/0.3575, allocations: 15.92 kB / 1.311 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.3575, allocations: 0 / 1.311 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.582e-05/0.3576, allocations: 4 kB / 1.311 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.3576, allocations: 8 kB / 1.311 GB, free: 13.54 MB / 1.014 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.0001192/0.3577, allocations: 131.5 kB / 1.311 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.3577, allocations: 7.953 kB / 1.311 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.174e-05/0.3578, allocations: 8.062 kB / 1.311 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.3578, allocations: 7.938 kB / 1.311 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3578, allocations: 0 / 1.311 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3578, allocations: 0 / 1.311 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000434/0.3582, allocations: 329.8 kB / 1.311 GB, free: 13.01 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3582, allocations: 0 / 1.311 GB, free: 13.01 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.576e-05/0.3582, allocations: 4 kB / 1.311 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.3582, allocations: 4.094 kB / 1.311 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.3582, allocations: 11.92 kB / 1.311 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.3582, allocations: 3.938 kB / 1.311 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3582, allocations: 0 / 1.311 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.3585, allocations: 179.4 kB / 1.311 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.472e-05/0.3585, allocations: 11.98 kB / 1.311 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.3585, allocations: 0 / 1.311 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.32e-05/0.3586, allocations: 11.94 kB / 1.311 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.3586, allocations: 7.984 kB / 1.311 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.3586, allocations: 8.062 kB / 1.311 GB, free: 12.75 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.448e-05/0.3587, allocations: 87.53 kB / 1.312 GB, free: 12.67 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3587, allocations: 0 / 1.312 GB, free: 12.67 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002359/0.3589, allocations: 19.95 kB / 1.312 GB, free: 12.65 MB / 1.014 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.0001041/0.359, allocations: 99.19 kB / 1.312 GB, free: 12.54 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001629/0.3592, allocations: 59.84 kB / 1.312 GB, free: 12.48 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.3592, allocations: 4.062 kB / 1.312 GB, free: 12.48 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.321e-05/0.3593, allocations: 16 kB / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.3595, allocations: 15.98 kB / 1.312 GB, free: 12.45 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004592/0.36, allocations: 161.3 kB / 1.312 GB, free: 12.27 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.3604, allocations: 0.6846 MB / 1.313 GB, free: 11.55 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.08e-05/0.3604, allocations: 11.98 kB / 1.313 GB, free: 11.54 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.465e-05/0.3604, allocations: 15.72 kB / 1.313 GB, free: 11.53 MB / 1.014 GB Notification: Performance of SimCode: time 3.7e-07/0.3604, allocations: 0 / 1.313 GB, free: 11.53 MB / 1.014 GB Notification: Performance of Templates: time 0.003549/0.364, allocations: 0.8061 MB / 1.313 GB, free: 10.73 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.17457081656903]