Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001139/0.001139, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.508/2.508, allocations: 437.1 MB / 0.7112 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 64.38 kB / 0.8707 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3312, allocations: 151.7 MB / 1.019 GB, free: 9.816 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002229/0.3335, allocations: 0.6737 MB / 1.019 GB, free: 9.141 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001557/0.3351, allocations: 1.161 MB / 1.021 GB, free: 7.965 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.152e-05/0.3352, allocations: 0 / 1.021 GB, free: 7.965 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.802e-05/0.3352, allocations: 3.938 kB / 1.021 GB, free: 7.961 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.323e-05/0.3353, allocations: 15.91 kB / 1.021 GB, free: 7.945 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005447/0.3359, allocations: 132.3 kB / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.3361, allocations: 159.7 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3362, allocations: 8 kB / 1.021 GB, free: 7.656 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.515e-05/0.3363, allocations: 55.84 kB / 1.021 GB, free: 7.602 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.3364, allocations: 59.84 kB / 1.021 GB, free: 7.543 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.3364, allocations: 12 kB / 1.021 GB, free: 7.531 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.836e-05/0.3365, allocations: 23.98 kB / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.474e-05/0.3366, allocations: 27.91 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.036e-05/0.3367, allocations: 51.84 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.3369, allocations: 131.7 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3369, allocations: 0 / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3369, allocations: 0 / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.3369, allocations: 0 / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007046/0.3376, allocations: 424.9 kB / 1.022 GB, free: 6.828 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3376, allocations: 12.88 kB / 1.022 GB, free: 6.816 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.712e-05/0.3377, allocations: 16.84 kB / 1.022 GB, free: 6.801 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003877/0.3381, allocations: 216.4 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.3381, allocations: 8.375 kB / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.3382, allocations: 8.375 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.3383, allocations: 86.19 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3384, allocations: 7.875 kB / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.3384, allocations: 0 / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.3384, allocations: 4 kB / 1.022 GB, free: 6.434 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.855e-05/0.3385, allocations: 43.91 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006/0.3391, allocations: 360.5 kB / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.3393, allocations: 94.53 kB / 1.022 GB, free: 5.887 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.716e-05/0.3394, allocations: 36.84 kB / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.3394, allocations: 4 kB / 1.023 GB, free: 5.844 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002315/0.3396, allocations: 135.5 kB / 1.023 GB, free: 5.699 MB / 0.795 GB Notification: Performance of pre-optimization done (n=13): time 1.502e-06/0.3396, allocations: 0 / 1.023 GB, free: 5.699 MB / 0.795 GB Notification: Performance of matching and sorting (n=13): time 0.0003857/0.34, allocations: 197.5 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.3401, allocations: 59.39 kB / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.846e-05/0.3402, allocations: 105.8 kB / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.3402, allocations: 37.64 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.042e-05/0.3403, allocations: 100 kB / 1.023 GB, free: 5.172 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.3403, allocations: 19.72 kB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-05/0.3404, allocations: 49.69 kB / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.3405, allocations: 326.8 kB / 1.023 GB, free: 4.77 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.875e-05/0.3406, allocations: 43.98 kB / 1.024 GB, free: 4.727 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.3407, allocations: 88.25 kB / 1.024 GB, free: 4.625 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.3409, allocations: 135.4 kB / 1.024 GB, free: 4.473 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3409, allocations: 0 / 1.024 GB, free: 4.473 MB / 0.795 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003174/0.3412, allocations: 208 kB / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/0.3413, allocations: 33.83 kB / 1.024 GB, free: 4.219 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3413, allocations: 4 kB / 1.024 GB, free: 4.215 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.3413, allocations: 4 kB / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.014e-05/0.3414, allocations: 15.98 kB / 1.024 GB, free: 4.195 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.403e-05/0.3414, allocations: 3.938 kB / 1.024 GB, free: 4.191 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.3416, allocations: 39.75 kB / 1.024 GB, free: 4.152 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.3416, allocations: 15.98 kB / 1.024 GB, free: 4.137 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001046/0.3417, allocations: 126.4 kB / 1.024 GB, free: 4.004 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.642e-05/0.3418, allocations: 7.906 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.701e-05/0.3418, allocations: 24.42 kB / 1.024 GB, free: 3.969 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3418, allocations: 0 / 1.024 GB, free: 3.969 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3418, allocations: 0 / 1.024 GB, free: 3.969 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3418, allocations: 0 / 1.024 GB, free: 3.969 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003863/0.3422, allocations: 434.9 kB / 1.025 GB, free: 3.488 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3422, allocations: 0 / 1.025 GB, free: 3.488 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.791e-05/0.3423, allocations: 4 kB / 1.025 GB, free: 3.484 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.3423, allocations: 8 kB / 1.025 GB, free: 3.477 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.3423, allocations: 7.984 kB / 1.025 GB, free: 3.469 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3423, allocations: 320 / 1.025 GB, free: 3.469 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3423, allocations: 0 / 1.025 GB, free: 3.469 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.3426, allocations: 270.2 kB / 1.025 GB, free: 3.191 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/0.3426, allocations: 88.95 kB / 1.025 GB, free: 3.086 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.3427, allocations: 7.984 kB / 1.025 GB, free: 3.078 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.715e-05/0.3428, allocations: 7.984 kB / 1.025 GB, free: 3.07 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.3428, allocations: 15.98 kB / 1.025 GB, free: 3.055 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.3428, allocations: 11.92 kB / 1.025 GB, free: 3.043 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.499e-05/0.3429, allocations: 91.27 kB / 1.025 GB, free: 2.953 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3429, allocations: 0 / 1.025 GB, free: 2.953 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002644/0.3432, allocations: 32 kB / 1.025 GB, free: 2.922 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001957/0.3434, allocations: 112.7 kB / 1.025 GB, free: 2.805 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003159/0.3437, allocations: 195.5 kB / 1.025 GB, free: 2.602 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.3437, allocations: 8.062 kB / 1.025 GB, free: 2.594 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.3438, allocations: 79.95 kB / 1.026 GB, free: 2.516 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.3441, allocations: 11.98 kB / 1.026 GB, free: 2.504 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003831/0.3445, allocations: 186.7 kB / 1.026 GB, free: 2.297 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.3448, allocations: 0.6923 MB / 1.026 GB, free: 1.578 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.173e-05/0.3448, allocations: 16.55 kB / 1.026 GB, free: 1.562 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/0.3449, allocations: 15.38 kB / 1.026 GB, free: 1.547 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.3449, allocations: 0 / 1.026 GB, free: 1.547 MB / 0.795 GB Notification: Performance of Templates: time 0.004208/0.3491, allocations: 1.64 MB / 1.028 GB, free: 15.91 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches