Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001271/0.001271, allocations: 104 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.001305/0.001305, allocations: 191.2 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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.341/2.341, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 63.44 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3044, allocations: 140.4 MB / 0.9511 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002603/0.3071, allocations: 0.6628 MB / 0.9518 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001744/0.3089, allocations: 1.161 MB / 0.9529 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.813e-05/0.3089, allocations: 0 / 0.9529 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.711e-05/0.309, allocations: 3.938 kB / 0.9529 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.763e-05/0.3091, allocations: 11.91 kB / 0.9529 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007483/0.3099, allocations: 143.6 kB / 0.9531 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.3102, allocations: 155.6 kB / 0.9532 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.3103, allocations: 12 kB / 0.9532 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.3104, allocations: 55.89 kB / 0.9533 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.3106, allocations: 55.86 kB / 0.9533 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.031e-05/0.3106, allocations: 16 kB / 0.9534 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.3107, allocations: 31.97 kB / 0.9534 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.558e-05/0.3108, allocations: 15.98 kB / 0.9534 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.266e-05/0.3109, allocations: 51.83 kB / 0.9534 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.3111, allocations: 127.6 kB / 0.9536 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.3111, allocations: 8 kB / 0.9536 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3111, allocations: 0 / 0.9536 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.3112, allocations: 0 / 0.9536 GB, free: 5.492 MB / 0.7325 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.0006905/0.3118, allocations: 424.9 kB / 0.954 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.3119, allocations: 8.031 kB / 0.954 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.368e-05/0.312, allocations: 12.84 kB / 0.954 GB, free: 5 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004238/0.3124, allocations: 212.4 kB / 0.9542 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/0.3124, allocations: 4.375 kB / 0.9542 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.774e-05/0.3125, allocations: 16.38 kB / 0.9542 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.3127, allocations: 86.19 kB / 0.9543 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.3127, allocations: 3.938 kB / 0.9543 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.3127, allocations: 4 kB / 0.9543 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.3128, allocations: 0 / 0.9543 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.3129, allocations: 43.91 kB / 0.9544 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006645/0.3136, allocations: 364.5 kB / 0.9547 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.3138, allocations: 90.55 kB / 0.9548 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.903e-05/0.3138, allocations: 44.88 kB / 0.9548 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.3139, allocations: 7.938 kB / 0.9548 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003344/0.3142, allocations: 123.3 kB / 0.955 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.764e-06/0.3142, allocations: 4 kB / 0.955 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0004593/0.3147, allocations: 197.5 kB / 0.9552 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.3148, allocations: 59.34 kB / 0.9552 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.3149, allocations: 117.8 kB / 0.9553 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.057e-05/0.315, allocations: 33.7 kB / 0.9554 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.168e-05/0.315, allocations: 88.12 kB / 0.9554 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.3151, allocations: 31.77 kB / 0.9555 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.3152, allocations: 49.69 kB / 0.9555 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.3154, allocations: 326.8 kB / 0.9558 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.3155, allocations: 39.98 kB / 0.9559 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.3156, allocations: 93.28 kB / 0.956 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.3159, allocations: 137.3 kB / 0.9561 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3159, allocations: 0 / 0.9561 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003692/0.3163, allocations: 207.1 kB / 0.9563 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.58e-05/0.3163, allocations: 37.7 kB / 0.9563 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.3163, allocations: 3.984 kB / 0.9563 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.3164, allocations: 4 kB / 0.9563 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.844e-05/0.3164, allocations: 15.92 kB / 0.9563 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.3165, allocations: 0 / 0.9563 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.3167, allocations: 39.81 kB / 0.9564 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.3167, allocations: 16.11 kB / 0.9564 GB, free: 2.328 MB / 0.7325 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.0001412/0.3168, allocations: 127.8 kB / 0.9565 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.3169, allocations: 7.906 kB / 0.9565 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.119e-05/0.3169, allocations: 12.48 kB / 0.9565 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3169, allocations: 4 kB / 0.9565 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.3169, allocations: 0 / 0.9565 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.317, allocations: 0 / 0.9565 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004907/0.3175, allocations: 438.4 kB / 0.957 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3175, allocations: 0 / 0.957 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.324e-05/0.3175, allocations: 4 kB / 0.957 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.3175, allocations: 0 / 0.957 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.3175, allocations: 15.92 kB / 0.957 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3175, allocations: 0 / 0.957 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3176, allocations: 0 / 0.957 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/0.3179, allocations: 259.3 kB / 0.9572 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.798e-05/0.3179, allocations: 89.05 kB / 0.9573 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.318, allocations: 11.98 kB / 0.9573 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.313e-05/0.3181, allocations: 7.984 kB / 0.9573 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.3181, allocations: 11.98 kB / 0.9573 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.3181, allocations: 11.94 kB / 0.9573 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.53e-05/0.3182, allocations: 91.2 kB / 0.9574 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3182, allocations: 0 / 0.9574 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002775/0.3185, allocations: 39.91 kB / 0.9575 GB, free: 1.117 MB / 0.7325 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.0001798/0.3187, allocations: 117.5 kB / 0.9576 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003165/0.319, allocations: 195.2 kB / 0.9578 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.319, allocations: 4 kB / 0.9578 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.919e-05/0.3191, allocations: 63.97 kB / 0.9578 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.3194, allocations: 15.98 kB / 0.9579 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004252/0.3198, allocations: 203.8 kB / 0.958 GB, free: 500 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.3201, allocations: 0.6965 MB / 0.9587 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.527e-05/0.3201, allocations: 12.55 kB / 0.9587 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.3202, allocations: 11.44 kB / 0.9587 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of SimCode: time 4.41e-07/0.3202, allocations: 0 / 0.9587 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of Templates: time 0.005089/0.3253, allocations: 1.647 MB / 0.9604 GB, free: 14.11 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches