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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001318/0.001318, 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.001302/0.001302, 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.419/1.419, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.525/2.525, allocations: 437.1 MB / 0.711 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002008, allocations: 72.11 kB / 0.8699 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3106, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002008/0.3127, allocations: 0.6678 MB / 1.019 GB, free: 9.949 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.3142, allocations: 1.157 MB / 1.02 GB, free: 8.777 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.17e-05/0.3143, allocations: 4 kB / 1.02 GB, free: 8.773 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.058e-05/0.3143, allocations: 7.938 kB / 1.02 GB, free: 8.766 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.095e-05/0.3144, allocations: 7.938 kB / 1.02 GB, free: 8.758 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004887/0.3149, allocations: 142.9 kB / 1.02 GB, free: 8.621 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.3151, allocations: 151.7 kB / 1.02 GB, free: 8.473 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.58e-05/0.3152, allocations: 11.97 kB / 1.02 GB, free: 8.461 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.049e-05/0.3153, allocations: 55.91 kB / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.437e-05/0.3154, allocations: 51.86 kB / 1.02 GB, free: 8.355 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.3154, allocations: 12 kB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.808e-05/0.3155, allocations: 31.98 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.115e-05/0.3155, allocations: 19.92 kB / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.453e-05/0.3156, allocations: 51.83 kB / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.3158, allocations: 128 kB / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3159, allocations: 0 / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3159, allocations: 0 / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.3159, allocations: 0 / 1.02 GB, free: 8.117 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.0006899/0.3166, allocations: 424.9 kB / 1.021 GB, free: 7.645 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3166, allocations: 12.88 kB / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.465e-05/0.3167, allocations: 20.83 kB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004499/0.3171, allocations: 208.5 kB / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.3172, allocations: 12.36 kB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/0.3172, allocations: 12.38 kB / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.3174, allocations: 86.12 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.3174, allocations: 3.938 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.3175, allocations: 0 / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.3175, allocations: 0 / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.836e-05/0.3176, allocations: 47.91 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006619/0.3182, allocations: 360.5 kB / 1.022 GB, free: 6.805 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.3184, allocations: 94.53 kB / 1.022 GB, free: 6.703 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.107e-05/0.3185, allocations: 36.84 kB / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.3185, allocations: 7.938 kB / 1.022 GB, free: 6.656 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003169/0.3189, allocations: 131.3 kB / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.3189, allocations: 0 / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of matching and sorting (n=13): time 0.0004372/0.3193, allocations: 199.7 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.3194, allocations: 59.39 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.3195, allocations: 113.8 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/0.3195, allocations: 33.7 kB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.672e-05/0.3196, allocations: 92.05 kB / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.3196, allocations: 31.84 kB / 1.022 GB, free: 5.961 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.638e-05/0.3197, allocations: 45.7 kB / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.3199, allocations: 322.8 kB / 1.023 GB, free: 5.586 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.32, allocations: 47.97 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.3202, allocations: 84.27 kB / 1.023 GB, free: 5.441 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.3204, allocations: 133.9 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3204, allocations: 0 / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003749/0.3208, allocations: 212.4 kB / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.433e-05/0.3208, allocations: 41.69 kB / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.3208, allocations: 4.125 kB / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.3209, allocations: 4 kB / 1.023 GB, free: 5.016 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.838e-05/0.3209, allocations: 8 kB / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.321, allocations: 3.938 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.3212, allocations: 39.8 kB / 1.023 GB, free: 4.965 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.3212, allocations: 12 kB / 1.023 GB, free: 4.953 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.0001217/0.3213, allocations: 129.8 kB / 1.023 GB, free: 4.816 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.3214, allocations: 11.91 kB / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.574e-05/0.3214, allocations: 12.5 kB / 1.023 GB, free: 4.789 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3214, allocations: 0 / 1.023 GB, free: 4.789 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3214, allocations: 0 / 1.023 GB, free: 4.789 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3214, allocations: 3.938 kB / 1.023 GB, free: 4.785 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004841/0.3219, allocations: 434.3 kB / 1.024 GB, free: 4.305 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3219, allocations: 3.984 kB / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.941e-05/0.322, allocations: 4 kB / 1.024 GB, free: 4.297 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.322, allocations: 8 kB / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.322, allocations: 4 kB / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.322, allocations: 4 kB / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.322, allocations: 0 / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003156/0.3223, allocations: 273.9 kB / 1.024 GB, free: 4 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/0.3224, allocations: 88.95 kB / 1.024 GB, free: 3.895 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.3224, allocations: 4 kB / 1.024 GB, free: 3.891 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.897e-05/0.3225, allocations: 11.98 kB / 1.024 GB, free: 3.879 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.953e-05/0.3226, allocations: 15.97 kB / 1.024 GB, free: 3.863 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.3226, allocations: 11.94 kB / 1.024 GB, free: 3.852 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.309e-05/0.3227, allocations: 87.58 kB / 1.024 GB, free: 3.766 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3227, allocations: 0 / 1.024 GB, free: 3.766 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002739/0.323, allocations: 32 kB / 1.024 GB, free: 3.734 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.000185/0.3231, allocations: 114.2 kB / 1.024 GB, free: 3.617 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003576/0.3235, allocations: 203.3 kB / 1.025 GB, free: 3.406 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3235, allocations: 0 / 1.025 GB, free: 3.406 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.3236, allocations: 67.92 kB / 1.025 GB, free: 3.34 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.3239, allocations: 15.98 kB / 1.025 GB, free: 3.324 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004395/0.3244, allocations: 224.5 kB / 1.025 GB, free: 3.074 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.3247, allocations: 0.6963 MB / 1.026 GB, free: 2.352 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.862e-05/0.3248, allocations: 11.44 kB / 1.026 GB, free: 2.34 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.3248, allocations: 0 / 1.026 GB, free: 2.34 MB / 0.795 GB Notification: Performance of Templates: time 0.003411/0.3282, allocations: 1.442 MB / 1.027 GB, free: 0.9141 MB / 0.795 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=400 -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) "" Variables in the reference:time,noThr.u,noThr.y,noThr.t,noThr.passed,thrTim.u,thrTim.y,thrTim.t,thrTim.passed Variables in the result:noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,time