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.001075/0.001075, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001301/0.001301, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 223.3 MB / 240 MB, free: 5.238 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.677/2.677, allocations: 437.7 MB / 0.7117 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000411/0.0004113, allocations: 16 kB / 0.8722 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7267/0.7271, allocations: 153.8 MB / 1.022 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.0009503/0.7281, allocations: 397 kB / 1.023 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.7297, allocations: 1.128 MB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.82e-05/0.7297, allocations: 3.938 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.597e-05/0.7298, allocations: 4 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.124e-05/0.7299, allocations: 11.92 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005063/0.7304, allocations: 127.5 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.7305, allocations: 115.8 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.76e-05/0.7306, allocations: 8 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.264e-05/0.7307, allocations: 51.88 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.7309, allocations: 43.89 kB / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.7309, allocations: 11.94 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.669e-05/0.731, allocations: 15.98 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.857e-05/0.731, allocations: 19.97 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.555e-05/0.7311, allocations: 37.7 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.7312, allocations: 93.7 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.7312, allocations: 0 / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.734e-06/0.7312, allocations: 0 / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.7312, allocations: 0 / 1.024 GB, free: 14.01 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.0005423/0.7318, allocations: 402.6 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.7318, allocations: 12.52 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.019e-05/0.7319, allocations: 11.98 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/0.7323, allocations: 212.7 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.7323, allocations: 7.984 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.7323, allocations: 19.95 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.7325, allocations: 93.5 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.7325, allocations: 0 / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.7325, allocations: 0 / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.7325, allocations: 0 / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.311e-05/0.7326, allocations: 39.97 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005726/0.7332, allocations: 364.6 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.7334, allocations: 94.56 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.852e-05/0.7335, allocations: 40.84 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.7335, allocations: 0 / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002974/0.7338, allocations: 135.2 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.7338, allocations: 3.938 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0004122/0.7342, allocations: 195.3 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.7343, allocations: 59.55 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.7344, allocations: 117.7 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.7344, allocations: 33.7 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.958e-05/0.7345, allocations: 84.14 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.723e-05/0.7346, allocations: 35.55 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.42e-05/0.7346, allocations: 8 kB / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.7347, allocations: 322.8 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.7348, allocations: 47.98 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.735, allocations: 84.25 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.7351, allocations: 77.64 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.7351, allocations: 0 / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003495/0.7355, allocations: 212.3 kB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.727e-05/0.7355, allocations: 37.7 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.7355, allocations: 0 / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.7355, allocations: 0 / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.241e-05/0.7356, allocations: 19.92 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.7357, allocations: 4.312 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.7358, allocations: 40.09 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.7359, allocations: 12 kB / 1.027 GB, free: 10.98 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 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001571/0.736, allocations: 137.6 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.7361, allocations: 19.91 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.917e-05/0.7361, allocations: 8.5 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.7361, allocations: 0 / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.7361, allocations: 0 / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.7362, allocations: 7.984 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004948/0.7367, allocations: 426.5 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.7367, allocations: 4 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.771e-05/0.7367, allocations: 7.875 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.7367, allocations: 7.938 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.7367, allocations: 4 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.7367, allocations: 0 / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.7368, allocations: 11.97 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.7371, allocations: 256.6 kB / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.479e-05/0.7371, allocations: 85.02 kB / 1.028 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.7372, allocations: 7.984 kB / 1.028 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.378e-05/0.7373, allocations: 8 kB / 1.028 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/0.7373, allocations: 15.97 kB / 1.028 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.7373, allocations: 8 kB / 1.028 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.404e-05/0.7374, allocations: 87.27 kB / 1.028 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7374, allocations: 0 / 1.028 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002639/0.7377, allocations: 32 kB / 1.028 GB, free: 9.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001941/0.7379, allocations: 123.7 kB / 1.028 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003017/0.7382, allocations: 195.5 kB / 1.029 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.7382, allocations: 0 / 1.029 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.7383, allocations: 70.66 kB / 1.029 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.7386, allocations: 21.67 kB / 1.029 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003874/0.739, allocations: 207.2 kB / 1.029 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.7393, allocations: 0.6888 MB / 1.029 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.16e-05/0.7393, allocations: 8.547 kB / 1.029 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/0.7393, allocations: 19.38 kB / 1.029 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7394, allocations: 0 / 1.029 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of Templates: time 0.004099/0.7435, allocations: 1.448 MB / 1.031 GB, free: 6.949 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches