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.001605/0.001605, allocations: 107.9 kB / 16.37 MB, free: 6.477 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.001657/0.001657, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.434/1.434, allocations: 222.9 MB / 241 MB, free: 15.19 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.504/2.504, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 62.91 kB / 0.8707 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3174, allocations: 151.6 MB / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001794/0.3192, allocations: 0.6793 MB / 1.019 GB, free: 9.156 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.3207, allocations: 1.153 MB / 1.021 GB, free: 7.988 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.635e-05/0.3208, allocations: 4 kB / 1.021 GB, free: 7.984 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.966e-05/0.3208, allocations: 3.938 kB / 1.021 GB, free: 7.98 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.816e-05/0.3209, allocations: 15.8 kB / 1.021 GB, free: 7.965 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005456/0.3214, allocations: 144.8 kB / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.3216, allocations: 139.8 kB / 1.021 GB, free: 7.691 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.3218, allocations: 15.97 kB / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.906e-05/0.3218, allocations: 55.91 kB / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.322, allocations: 63.78 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.322, allocations: 16 kB / 1.021 GB, free: 7.543 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.116e-05/0.3221, allocations: 16 kB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.726e-05/0.3221, allocations: 19.97 kB / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.679e-05/0.3222, allocations: 59.83 kB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.3224, allocations: 127.6 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3224, allocations: 3.984 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3224, allocations: 0 / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.3224, allocations: 0 / 1.021 GB, free: 7.32 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.0005905/0.323, allocations: 428.9 kB / 1.022 GB, free: 6.844 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.323, allocations: 16.58 kB / 1.022 GB, free: 6.828 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.534e-05/0.3231, allocations: 8.844 kB / 1.022 GB, free: 6.82 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.3235, allocations: 208.5 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.3235, allocations: 8.359 kB / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.3236, allocations: 8.375 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.3237, allocations: 90.12 kB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3238, allocations: 7.938 kB / 1.022 GB, free: 6.461 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.3238, allocations: 4 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.3238, allocations: 0 / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.406e-05/0.3239, allocations: 39.97 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000626/0.3245, allocations: 360.5 kB / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.3247, allocations: 90.55 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.3249, allocations: 44.84 kB / 1.023 GB, free: 5.871 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.3249, allocations: 0 / 1.023 GB, free: 5.871 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002684/0.3251, allocations: 123.4 kB / 1.023 GB, free: 5.738 MB / 0.795 GB Notification: Performance of pre-optimization done (n=13): time 1.472e-06/0.3252, allocations: 3.938 kB / 1.023 GB, free: 5.734 MB / 0.795 GB Notification: Performance of matching and sorting (n=13): time 0.0004033/0.3256, allocations: 201.5 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.3256, allocations: 59.41 kB / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.244e-05/0.3257, allocations: 113.8 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.3258, allocations: 33.7 kB / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.493e-05/0.3258, allocations: 100.1 kB / 1.023 GB, free: 5.199 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.3259, allocations: 23.7 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.318e-05/0.326, allocations: 49.69 kB / 1.023 GB, free: 5.121 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.3261, allocations: 318.8 kB / 1.023 GB, free: 4.801 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.3262, allocations: 51.97 kB / 1.024 GB, free: 4.75 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.3263, allocations: 90.09 kB / 1.024 GB, free: 4.648 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.3266, allocations: 138.8 kB / 1.024 GB, free: 4.492 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.3266, allocations: 8 kB / 1.024 GB, free: 4.484 MB / 0.795 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003941/0.327, allocations: 204.2 kB / 1.024 GB, free: 4.273 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.911e-05/0.327, allocations: 29.7 kB / 1.024 GB, free: 4.238 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.3271, allocations: 4 kB / 1.024 GB, free: 4.234 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.3271, allocations: 7.922 kB / 1.024 GB, free: 4.227 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.167e-05/0.3272, allocations: 15.98 kB / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.3272, allocations: 4 kB / 1.024 GB, free: 4.207 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.3274, allocations: 35.94 kB / 1.024 GB, free: 4.172 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.3274, allocations: 16 kB / 1.024 GB, free: 4.156 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.0001171/0.3275, allocations: 136.1 kB / 1.024 GB, free: 4.016 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.3276, allocations: 7.906 kB / 1.024 GB, free: 4.008 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.668e-05/0.3276, allocations: 8.5 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3276, allocations: 0 / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.3276, allocations: 4 kB / 1.024 GB, free: 3.992 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.3276, allocations: 3.984 kB / 1.024 GB, free: 3.988 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004305/0.3281, allocations: 444.4 kB / 1.025 GB, free: 3.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3281, allocations: 0 / 1.025 GB, free: 3.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.918e-05/0.3281, allocations: 4 kB / 1.025 GB, free: 3.496 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3281, allocations: 0 / 1.025 GB, free: 3.496 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.3281, allocations: 7.984 kB / 1.025 GB, free: 3.488 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3282, allocations: 0 / 1.025 GB, free: 3.488 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3282, allocations: 0 / 1.025 GB, free: 3.488 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.3284, allocations: 263.3 kB / 1.025 GB, free: 3.215 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.744e-05/0.3285, allocations: 84.95 kB / 1.025 GB, free: 3.113 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.114e-05/0.3285, allocations: 11.98 kB / 1.025 GB, free: 3.102 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.871e-05/0.3286, allocations: 4 kB / 1.025 GB, free: 3.098 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.3287, allocations: 23.91 kB / 1.025 GB, free: 3.074 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.3287, allocations: 7.938 kB / 1.025 GB, free: 3.066 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.897e-05/0.3287, allocations: 87.27 kB / 1.025 GB, free: 2.98 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.493e-06/0.3287, allocations: 0 / 1.025 GB, free: 2.98 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002651/0.329, allocations: 35.94 kB / 1.025 GB, free: 2.945 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.0001642/0.3292, allocations: 116.7 kB / 1.025 GB, free: 2.824 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002978/0.3295, allocations: 191.3 kB / 1.025 GB, free: 2.625 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3295, allocations: 0 / 1.025 GB, free: 2.625 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.3296, allocations: 75.92 kB / 1.026 GB, free: 2.551 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.3299, allocations: 19.92 kB / 1.026 GB, free: 2.531 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/0.3303, allocations: 196.8 kB / 1.026 GB, free: 2.316 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.3305, allocations: 0.6924 MB / 1.026 GB, free: 1.598 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.768e-05/0.3306, allocations: 8.547 kB / 1.026 GB, free: 1.59 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.3306, allocations: 15.44 kB / 1.026 GB, free: 1.574 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.3306, allocations: 0 / 1.026 GB, free: 1.574 MB / 0.795 GB Notification: Performance of Templates: time 0.004534/0.3352, allocations: 1.64 MB / 1.028 GB, free: 15.95 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 cvode -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