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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001645/0.001645, allocations: 102.2 kB / 16.27 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 191 kB / 17.2 MB, free: 5.609 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.42/1.42, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.711/2.711, allocations: 482.4 MB / 0.7553 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001958, allocations: 64.42 kB / 0.9245 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8353/0.8373, allocations: 162.2 MB / 1.083 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.00271/0.84, allocations: 1.46 MB / 1.084 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006892/0.8407, allocations: 447.4 kB / 1.085 GB, free: 308 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.971e-05/0.8408, allocations: 1.125 kB / 1.085 GB, free: 308 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.318e-05/0.8408, allocations: 5.344 kB / 1.085 GB, free: 304 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.996e-05/0.8409, allocations: 6.297 kB / 1.085 GB, free: 300 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001515/0.8411, allocations: 21.36 kB / 1.085 GB, free: 288 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.381e-05/0.8412, allocations: 54.36 kB / 1.085 GB, free: 260 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.8413, allocations: 16.52 kB / 1.085 GB, free: 252 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.079e-05/0.8414, allocations: 18.14 kB / 1.085 GB, free: 244 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.708e-05/0.8414, allocations: 27.2 kB / 1.085 GB, free: 228 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.8415, allocations: 8.25 kB / 1.085 GB, free: 224 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.741e-05/0.8415, allocations: 4.656 kB / 1.085 GB, free: 224 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.353e-05/0.8415, allocations: 8.719 kB / 1.085 GB, free: 220 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.953e-05/0.8416, allocations: 29.69 kB / 1.085 GB, free: 200 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.8417, allocations: 34.7 kB / 1.085 GB, free: 188 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.8417, allocations: 4.969 kB / 1.085 GB, free: 184 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8417, allocations: 0 / 1.085 GB, free: 184 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.8417, allocations: 0.5625 kB / 1.085 GB, free: 184 kB / 0.8262 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.0005354/0.8423, allocations: 359.2 kB / 1.085 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.8423, allocations: 9.594 kB / 1.085 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.026e-05/0.8423, allocations: 8.469 kB / 1.085 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.8425, allocations: 168.5 kB / 1.086 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.8425, allocations: 7.625 kB / 1.086 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.8426, allocations: 8.281 kB / 1.086 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.8427, allocations: 62.53 kB / 1.086 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.8427, allocations: 0 / 1.086 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.8427, allocations: 4.703 kB / 1.086 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.8427, allocations: 1.781 kB / 1.086 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.879e-05/0.8428, allocations: 21.53 kB / 1.086 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005404/0.8434, allocations: 313.5 kB / 1.086 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.8435, allocations: 53.81 kB / 1.086 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.157e-05/0.8435, allocations: 22.53 kB / 1.086 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.8436, allocations: 1.094 kB / 1.086 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001901/0.8438, allocations: 78.53 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.8438, allocations: 4 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.000245/0.844, allocations: 96.88 kB / 1.086 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.8441, allocations: 58.75 kB / 1.086 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.986e-05/0.8442, allocations: 107.1 kB / 1.086 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.8442, allocations: 30.3 kB / 1.086 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.444e-05/0.8443, allocations: 87.83 kB / 1.086 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.8443, allocations: 20.69 kB / 1.086 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-05/0.8444, allocations: 28.03 kB / 1.086 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.8445, allocations: 323.8 kB / 1.087 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.767e-05/0.8446, allocations: 14.75 kB / 1.087 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.192e-05/0.8446, allocations: 49.09 kB / 1.087 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.8447, allocations: 69.31 kB / 1.087 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.8448, allocations: 0 / 1.087 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000172/0.8449, allocations: 101.9 kB / 1.087 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.845, allocations: 9.344 kB / 1.087 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.845, allocations: 1.188 kB / 1.087 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.845, allocations: 2.828 kB / 1.087 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.654e-05/0.8451, allocations: 8.734 kB / 1.087 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.8451, allocations: 2.375 kB / 1.087 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.289e-05/0.8452, allocations: 14.75 kB / 1.087 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.8452, allocations: 2.656 kB / 1.087 GB, free: 14.26 MB / 0.8419 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.0001063/0.8453, allocations: 129.1 kB / 1.087 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.8453, allocations: 7.078 kB / 1.087 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.8453, allocations: 10.05 kB / 1.087 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.8454, allocations: 1.062 kB / 1.087 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.8454, allocations: 0 / 1.087 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.8454, allocations: 1.359 kB / 1.087 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000464/0.8458, allocations: 360 kB / 1.088 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.8459, allocations: 0.7031 kB / 1.088 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.717e-05/0.8459, allocations: 4.297 kB / 1.088 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.8459, allocations: 5.625 kB / 1.088 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.8459, allocations: 0.6562 kB / 1.088 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.8459, allocations: 5.156 kB / 1.088 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8459, allocations: 3.938 kB / 1.088 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.8461, allocations: 179.7 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.587e-05/0.8462, allocations: 83.59 kB / 1.088 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.8462, allocations: 5.984 kB / 1.088 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.421e-05/0.8463, allocations: 17.55 kB / 1.088 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.172e-05/0.8464, allocations: 6.875 kB / 1.088 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.8464, allocations: 2.188 kB / 1.088 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.852e-05/0.8464, allocations: 85.02 kB / 1.088 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8464, allocations: 0 / 1.088 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002289/0.8467, allocations: 12.47 kB / 1.088 GB, free: 13.43 MB / 0.8419 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.0001206/0.8468, allocations: 105 kB / 1.088 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001597/0.847, allocations: 61.56 kB / 1.088 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.847, allocations: 5.25 kB / 1.088 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.947e-05/0.8471, allocations: 26.98 kB / 1.088 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.8473, allocations: 19.8 kB / 1.088 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000454/0.8478, allocations: 187.1 kB / 1.088 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.8481, allocations: 0.6891 MB / 1.089 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.197e-05/0.8482, allocations: 11.84 kB / 1.089 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.8482, allocations: 0 / 1.089 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of Templates: time 0.002688/0.8509, allocations: 0.8629 MB / 1.09 GB, free: 12.36 MB / 0.8419 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=400 -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