Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001673/0.001673, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002006/0.002006, allocations: 191.4 kB / 16.67 MB, free: 6.57 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.877/2.877, allocations: 469.8 MB / 0.7425 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 59.91 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3885, allocations: 159.1 MB / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002077/0.3906, allocations: 0.6684 MB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001615/0.3922, allocations: 1.16 MB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.63e-05/0.3923, allocations: 0 / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.091e-05/0.3923, allocations: 3.938 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.243e-05/0.3924, allocations: 15.91 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005299/0.3929, allocations: 139.3 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.3931, allocations: 151.7 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.141e-05/0.3932, allocations: 3.984 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.161e-05/0.3933, allocations: 55.91 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.3934, allocations: 55.84 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/0.3934, allocations: 16 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.166e-05/0.3935, allocations: 27.98 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.015e-05/0.3935, allocations: 23.91 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.408e-05/0.3936, allocations: 47.91 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.3938, allocations: 135.6 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3938, allocations: 0 / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.61e-07/0.3938, allocations: 0 / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.3938, allocations: 0 / 1.223 GB, free: 11.31 MB / 0.9825 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.0007289/0.3946, allocations: 418.5 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.3946, allocations: 12.03 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.414e-05/0.3947, allocations: 16.83 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004829/0.3951, allocations: 212.4 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.3952, allocations: 4.375 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.3952, allocations: 12.38 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.3954, allocations: 82.19 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.3954, allocations: 3.938 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.3954, allocations: 11.94 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.3954, allocations: 0 / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.301e-05/0.3955, allocations: 35.97 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006877/0.3962, allocations: 356.6 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.3964, allocations: 82.58 kB / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.095e-05/0.3964, allocations: 32.78 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.3965, allocations: 7.938 kB / 1.224 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002881/0.3968, allocations: 127.3 kB / 1.224 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.3968, allocations: 0 / 1.224 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0004036/0.3972, allocations: 205.5 kB / 1.225 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.3972, allocations: 59.55 kB / 1.225 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.292e-05/0.3973, allocations: 113.8 kB / 1.225 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.3973, allocations: 33.7 kB / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.699e-05/0.3974, allocations: 92.12 kB / 1.225 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.3974, allocations: 31.75 kB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-05/0.3975, allocations: 49.69 kB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.3976, allocations: 318.8 kB / 1.225 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.3977, allocations: 51.97 kB / 1.225 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.3979, allocations: 84.27 kB / 1.225 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.3981, allocations: 149.5 kB / 1.226 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3981, allocations: 0 / 1.226 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003481/0.3984, allocations: 207.2 kB / 1.226 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.675e-05/0.3985, allocations: 33.7 kB / 1.226 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.3985, allocations: 4.109 kB / 1.226 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.3985, allocations: 8 kB / 1.226 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.09e-05/0.3986, allocations: 15.92 kB / 1.226 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3986, allocations: 0 / 1.226 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.3988, allocations: 43.86 kB / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.3988, allocations: 8 kB / 1.226 GB, free: 8.168 MB / 0.9825 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.0001305/0.3989, allocations: 135.3 kB / 1.226 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.3989, allocations: 11.95 kB / 1.226 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.928e-05/0.399, allocations: 12.5 kB / 1.226 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.399, allocations: 0 / 1.226 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.399, allocations: 11.86 kB / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.399, allocations: 0 / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005563/0.3996, allocations: 430.5 kB / 1.226 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3996, allocations: 0 / 1.226 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.059e-05/0.3996, allocations: 8 kB / 1.226 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.3996, allocations: 4 kB / 1.226 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.3996, allocations: 7.984 kB / 1.226 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3996, allocations: 0 / 1.226 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3996, allocations: 3.938 kB / 1.226 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.3999, allocations: 255.4 kB / 1.227 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.194e-05/0.3999, allocations: 85.06 kB / 1.227 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.4, allocations: 11.98 kB / 1.227 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.223e-05/0.4001, allocations: 0 / 1.227 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.486e-05/0.4001, allocations: 15.97 kB / 1.227 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.4001, allocations: 15.94 kB / 1.227 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.56e-05/0.4002, allocations: 95.2 kB / 1.227 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4002, allocations: 0 / 1.227 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002808/0.4005, allocations: 32 kB / 1.227 GB, free: 6.953 MB / 0.9825 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.0002462/0.4007, allocations: 116.2 kB / 1.227 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000329/0.401, allocations: 175.3 kB / 1.227 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4011, allocations: 256 / 1.227 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.4012, allocations: 55.97 kB / 1.227 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.4015, allocations: 19.97 kB / 1.227 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005276/0.402, allocations: 201.9 kB / 1.227 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.4024, allocations: 0.6885 MB / 1.228 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.784e-05/0.4024, allocations: 16.55 kB / 1.228 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/0.4024, allocations: 11.44 kB / 1.228 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.4024, allocations: 0 / 1.228 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of Templates: time 0.004646/0.4071, allocations: 1.655 MB / 1.23 GB, free: 3.977 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches