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.0008706/0.0008707, allocations: 92.7 kB / 16.02 MB, free: 80 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.0009794/0.0009794, allocations: 183.8 kB / 16.92 MB, free: 6.922 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.335/1.335, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.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.618/2.618, allocations: 437.8 MB / 0.7128 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003663, allocations: 12 kB / 0.8735 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7141/0.7145, allocations: 153.8 MB / 1.024 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.00102/0.7156, allocations: 409 kB / 1.024 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001873/0.7175, allocations: 1.156 MB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.887e-05/0.7175, allocations: 0 / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.241e-05/0.7176, allocations: 0 / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.956e-05/0.7177, allocations: 11.92 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006267/0.7183, allocations: 131.6 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.7185, allocations: 127.7 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.7186, allocations: 12 kB / 1.026 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.7187, allocations: 51.84 kB / 1.026 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.7189, allocations: 47.86 kB / 1.026 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.7189, allocations: 8 kB / 1.026 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.548e-05/0.719, allocations: 19.98 kB / 1.026 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.174e-05/0.719, allocations: 15.92 kB / 1.026 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.7192, allocations: 73.59 kB / 1.026 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.7194, allocations: 93.69 kB / 1.026 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7194, allocations: 0 / 1.026 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7194, allocations: 4 kB / 1.026 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.269e-06/0.7194, allocations: 0 / 1.026 GB, free: 13.75 MB / 0.7794 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.0007582/0.7202, allocations: 401 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.7202, allocations: 11.98 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.834e-05/0.7203, allocations: 8.938 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004744/0.7208, allocations: 224.3 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.366e-05/0.7208, allocations: 12.38 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.505e-05/0.7208, allocations: 12.36 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.721, allocations: 82.2 kB / 1.027 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.7211, allocations: 3.938 kB / 1.027 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.7211, allocations: 3.984 kB / 1.027 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.7211, allocations: 4 kB / 1.027 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.7212, allocations: 35.97 kB / 1.027 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006399/0.7219, allocations: 364.6 kB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.7221, allocations: 94.53 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.583e-05/0.7221, allocations: 37 kB / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.7222, allocations: 7.984 kB / 1.027 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002341/0.7224, allocations: 131.2 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.7224, allocations: 0 / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0004135/0.7228, allocations: 201.5 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.7229, allocations: 59.39 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.723, allocations: 113.8 kB / 1.028 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.227e-05/0.723, allocations: 33.7 kB / 1.028 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.289e-05/0.7231, allocations: 88.14 kB / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.7232, allocations: 35.53 kB / 1.028 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.052e-05/0.7232, allocations: 25.72 kB / 1.028 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.7233, allocations: 326.8 kB / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.7235, allocations: 47.91 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.7236, allocations: 88.27 kB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.7238, allocations: 141.7 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.7238, allocations: 0 / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003822/0.7242, allocations: 211.2 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.465e-05/0.7243, allocations: 37.7 kB / 1.029 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.7243, allocations: 0 / 1.029 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.7243, allocations: 4 kB / 1.029 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.375e-05/0.7244, allocations: 8 kB / 1.029 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.7244, allocations: 3.984 kB / 1.029 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.7247, allocations: 47.94 kB / 1.029 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.7247, allocations: 15.94 kB / 1.029 GB, free: 10.61 MB / 0.7794 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.0001256/0.7248, allocations: 142.2 kB / 1.029 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.7248, allocations: 4 kB / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.857e-05/0.7249, allocations: 8.5 kB / 1.029 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.7249, allocations: 0 / 1.029 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.7249, allocations: 4 kB / 1.029 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.7249, allocations: 4 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004484/0.7254, allocations: 438.3 kB / 1.029 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.7254, allocations: 0 / 1.029 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.269e-05/0.7254, allocations: 4 kB / 1.029 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.7254, allocations: 0 / 1.029 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.7255, allocations: 8 kB / 1.029 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.7255, allocations: 0 / 1.029 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.7255, allocations: 0 / 1.029 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.7258, allocations: 263.4 kB / 1.029 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.073e-05/0.7258, allocations: 81.02 kB / 1.03 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.7259, allocations: 4 kB / 1.03 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.726, allocations: 11.98 kB / 1.03 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/0.7261, allocations: 19.97 kB / 1.03 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.7261, allocations: 11.94 kB / 1.03 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.805e-05/0.7261, allocations: 91.25 kB / 1.03 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.493e-06/0.7261, allocations: 4 kB / 1.03 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002915/0.7264, allocations: 35.94 kB / 1.03 GB, free: 9.391 MB / 0.7794 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.0001961/0.7266, allocations: 112 kB / 1.03 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003514/0.727, allocations: 187.3 kB / 1.03 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.727, allocations: 4 kB / 1.03 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.7271, allocations: 63.92 kB / 1.03 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.7274, allocations: 20.23 kB / 1.03 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004452/0.7279, allocations: 239.9 kB / 1.03 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.7282, allocations: 0.6887 MB / 1.031 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.7282, allocations: 15.44 kB / 1.031 GB, free: 8 MB / 0.7794 GB Notification: Performance of SimCode: time 6.61e-07/0.7282, allocations: 4 kB / 1.031 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of Templates: time 0.003432/0.7317, allocations: 1.439 MB / 1.032 GB, free: 6.566 MB / 0.7794 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 -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