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.001116/0.001116, allocations: 117.8 kB / 16.37 MB, free: 6.004 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.001171/0.001172, allocations: 192.8 kB / 17.31 MB, free: 5.613 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.447/1.447, allocations: 222.9 MB / 241 MB, free: 15.17 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.316/2.316, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 64.36 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3099, allocations: 140.4 MB / 0.9511 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002282/0.3122, allocations: 0.6848 MB / 0.9518 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001618/0.3138, allocations: 1.161 MB / 0.9529 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.55e-05/0.3139, allocations: 0 / 0.9529 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.546e-05/0.3139, allocations: 3.938 kB / 0.9529 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.146e-05/0.314, allocations: 11.86 kB / 0.953 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004633/0.3145, allocations: 147.3 kB / 0.9531 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.3147, allocations: 143.8 kB / 0.9532 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.638e-05/0.3148, allocations: 12 kB / 0.9532 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.013e-05/0.3149, allocations: 63.88 kB / 0.9533 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.315, allocations: 43.88 kB / 0.9533 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.315, allocations: 16 kB / 0.9534 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002287/0.3152, allocations: 31.91 kB / 0.9534 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.169e-05/0.3153, allocations: 23.92 kB / 0.9534 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.235e-05/0.3154, allocations: 51.84 kB / 0.9535 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.3155, allocations: 127.7 kB / 0.9536 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3155, allocations: 0 / 0.9536 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3156, allocations: 0 / 0.9536 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.3156, allocations: 4 kB / 0.9536 GB, free: 5.484 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.0006786/0.3162, allocations: 421.8 kB / 0.954 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.945e-05/0.3163, allocations: 12.03 kB / 0.954 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.056e-05/0.3164, allocations: 20.77 kB / 0.954 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003905/0.3168, allocations: 200.5 kB / 0.9542 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.3168, allocations: 8.375 kB / 0.9542 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/0.3169, allocations: 24.3 kB / 0.9542 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.3171, allocations: 78.2 kB / 0.9543 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3171, allocations: 3.938 kB / 0.9543 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.3171, allocations: 7.984 kB / 0.9543 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3171, allocations: 0 / 0.9543 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.606e-05/0.3172, allocations: 39.97 kB / 0.9544 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005954/0.3178, allocations: 364.4 kB / 0.9547 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.318, allocations: 98.52 kB / 0.9548 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.025e-05/0.3181, allocations: 44.83 kB / 0.9549 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.3181, allocations: 0 / 0.9549 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002957/0.3184, allocations: 123.3 kB / 0.955 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.3185, allocations: 4 kB / 0.955 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0003797/0.3188, allocations: 197.5 kB / 0.9552 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.3189, allocations: 63.41 kB / 0.9552 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.319, allocations: 109.8 kB / 0.9553 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.319, allocations: 33.7 kB / 0.9554 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/0.3191, allocations: 88.14 kB / 0.9554 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.3191, allocations: 31.75 kB / 0.9555 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.729e-05/0.3192, allocations: 45.7 kB / 0.9555 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.3194, allocations: 326.8 kB / 0.9558 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.3195, allocations: 51.97 kB / 0.9559 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.3196, allocations: 88.2 kB / 0.956 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.3198, allocations: 133.8 kB / 0.9561 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3198, allocations: 4 kB / 0.9561 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000325/0.3202, allocations: 207.1 kB / 0.9563 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.102e-05/0.3202, allocations: 40.12 kB / 0.9563 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3202, allocations: 4 kB / 0.9563 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3202, allocations: 0 / 0.9563 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.95e-05/0.3203, allocations: 12 kB / 0.9563 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.3203, allocations: 4.125 kB / 0.9563 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.3205, allocations: 47.8 kB / 0.9564 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.3205, allocations: 4 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.0001266/0.3207, allocations: 137.2 kB / 0.9565 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.3207, allocations: 11.89 kB / 0.9565 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.678e-05/0.3207, allocations: 8.5 kB / 0.9565 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3207, allocations: 8 kB / 0.9566 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.3208, allocations: 0 / 0.9566 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3208, allocations: 0 / 0.9566 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004663/0.3212, allocations: 438.4 kB / 0.957 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3213, allocations: 0 / 0.957 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.933e-05/0.3213, allocations: 7.984 kB / 0.957 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3213, allocations: 0 / 0.957 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.3213, allocations: 4 kB / 0.957 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3213, allocations: 0 / 0.957 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3213, allocations: 0 / 0.957 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.3216, allocations: 263.3 kB / 0.9572 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.304e-05/0.3217, allocations: 85.05 kB / 0.9573 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.3217, allocations: 7.938 kB / 0.9573 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.135e-05/0.3218, allocations: 11.92 kB / 0.9573 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.3218, allocations: 15.98 kB / 0.9574 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.3219, allocations: 11.92 kB / 0.9574 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.575e-05/0.3219, allocations: 83.28 kB / 0.9574 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3219, allocations: 4 kB / 0.9574 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002711/0.3222, allocations: 43.89 kB / 0.9575 GB, free: 1.109 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.0001969/0.3224, allocations: 113.3 kB / 0.9576 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000323/0.3227, allocations: 187.4 kB / 0.9578 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3227, allocations: 0 / 0.9578 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.3229, allocations: 75.91 kB / 0.9578 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.3231, allocations: 26.94 kB / 0.9579 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000429/0.3236, allocations: 202 kB / 0.9581 GB, free: 488 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.3239, allocations: 0.6923 MB / 0.9587 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.883e-05/0.324, allocations: 8.547 kB / 0.9588 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.324, allocations: 15.44 kB / 0.9588 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.324, allocations: 4 kB / 0.9588 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of Templates: time 0.004265/0.3283, allocations: 1.642 MB / 0.9604 GB, free: 14.09 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 gbode -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