Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001024, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 182.5 kB / 16.92 MB, free: 6.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.761/2.761, allocations: 462.7 MB / 0.7371 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.0003688, allocations: 12.78 kB / 0.9034 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3269, allocations: 159.6 MB / 1.059 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.00186/0.3288, allocations: 1.187 MB / 1.06 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007672/0.3296, allocations: 446.8 kB / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.924e-05/0.3297, allocations: 4 kB / 1.061 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.238e-05/0.3297, allocations: 3.938 kB / 1.061 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.581e-05/0.3298, allocations: 0 / 1.061 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.33, allocations: 19.92 kB / 1.061 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.3301, allocations: 47.89 kB / 1.061 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.3303, allocations: 8 kB / 1.061 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.676e-05/0.3303, allocations: 23.86 kB / 1.061 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.326e-05/0.3304, allocations: 19.92 kB / 1.061 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.3304, allocations: 4 kB / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.114e-05/0.3304, allocations: 3.938 kB / 1.061 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.669e-05/0.3305, allocations: 7.984 kB / 1.061 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.41e-05/0.3305, allocations: 57.55 kB / 1.061 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.854e-05/0.3306, allocations: 19.95 kB / 1.061 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.3306, allocations: 4 kB / 1.061 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3306, allocations: 0 / 1.061 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.3307, allocations: 0 / 1.061 GB, free: 3.051 MB / 0.8106 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.0005159/0.3312, allocations: 359.7 kB / 1.061 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.3312, allocations: 12.03 kB / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.3313, allocations: 0.9375 kB / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.3314, allocations: 172.2 kB / 1.062 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.3314, allocations: 4.375 kB / 1.062 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.3315, allocations: 8.375 kB / 1.062 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.3316, allocations: 61.92 kB / 1.062 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.523e-06/0.3316, allocations: 0 / 1.062 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.3316, allocations: 4 kB / 1.062 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3316, allocations: 4 kB / 1.062 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.997e-05/0.3317, allocations: 27.92 kB / 1.062 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000544/0.3323, allocations: 304.7 kB / 1.062 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.3324, allocations: 58.55 kB / 1.062 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.333e-05/0.3324, allocations: 20.95 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.3325, allocations: 0 / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001913/0.3326, allocations: 79.41 kB / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.3327, allocations: 0 / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0002389/0.3329, allocations: 105.5 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.333, allocations: 55.41 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.858e-05/0.3331, allocations: 105.8 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.3331, allocations: 29.7 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.135e-05/0.3331, allocations: 92.03 kB / 1.063 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.3332, allocations: 15.75 kB / 1.063 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.3332, allocations: 25.7 kB / 1.063 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3333, allocations: 318.8 kB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.659e-05/0.3334, allocations: 15.98 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.161e-05/0.3335, allocations: 55.36 kB / 1.063 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.3336, allocations: 63.38 kB / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3336, allocations: 0 / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001492/0.3337, allocations: 97.45 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3338, allocations: 5.562 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3338, allocations: 4 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.3338, allocations: 4.031 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.738e-05/0.3339, allocations: 11.98 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3339, allocations: 0 / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.127e-05/0.3339, allocations: 12 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.334, allocations: 4.062 kB / 1.063 GB, free: 0.7109 MB / 0.8106 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.0001069/0.3341, allocations: 125.7 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.3341, allocations: 12.28 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.206e-05/0.3341, allocations: 11.97 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3341, allocations: 0 / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3342, allocations: 288 / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3342, allocations: 3.938 kB / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004165/0.3346, allocations: 362.4 kB / 1.064 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3346, allocations: 0 / 1.064 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.833e-05/0.3346, allocations: 7.984 kB / 1.064 GB, free: 136 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.3346, allocations: 7.984 kB / 1.064 GB, free: 128 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.3347, allocations: 4 kB / 1.064 GB, free: 124 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.3347, allocations: 3.938 kB / 1.064 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3347, allocations: 0 / 1.064 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.3349, allocations: 175.5 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.3349, allocations: 89.03 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.3349, allocations: 4 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.569e-05/0.335, allocations: 11.94 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.3351, allocations: 7.984 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.3351, allocations: 4 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.496e-05/0.3351, allocations: 87.27 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of sort global known variables: time 8.936e-06/0.3352, allocations: 0 / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002339/0.3354, allocations: 23.84 kB / 1.064 GB, free: 15.68 MB / 0.8262 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.0001136/0.3355, allocations: 95.25 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001322/0.3356, allocations: 55.86 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3357, allocations: 4.062 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.351e-05/0.3357, allocations: 27.92 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.336, allocations: 16.58 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000443/0.3365, allocations: 202.3 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.3367, allocations: 0.6868 MB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/0.3368, allocations: 15.44 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.3368, allocations: 0 / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of Templates: time 0.00235/0.3392, allocations: 0.8498 MB / 1.066 GB, free: 13.68 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches