Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.00128/0.00128, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001272/0.001272, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.59/1.59, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.07/3.07, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 71.73 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.412, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002697/0.4148, allocations: 0.7216 MB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001777/0.4166, allocations: 1.174 MB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.013e-05/0.4167, allocations: 0 / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.384e-05/0.4167, allocations: 0 / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.777e-05/0.4168, allocations: 11.91 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005955/0.4174, allocations: 126.8 kB / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.4176, allocations: 131.8 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.4178, allocations: 8 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.4179, allocations: 51.89 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.418, allocations: 43.88 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.418, allocations: 8 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.59e-05/0.4181, allocations: 23.92 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.071e-05/0.4182, allocations: 19.92 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.911e-05/0.4182, allocations: 59.81 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.4185, allocations: 112 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4185, allocations: 4 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4185, allocations: 0 / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.4185, allocations: 0 / 1.07 GB, free: 8.387 MB / 0.8262 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.0006885/0.4192, allocations: 425 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.4193, allocations: 12.03 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.728e-05/0.4193, allocations: 8.844 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004634/0.4198, allocations: 212.5 kB / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.4199, allocations: 8.375 kB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/0.4199, allocations: 8.375 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.4201, allocations: 94.12 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.4201, allocations: 3.938 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.4201, allocations: 4 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.4202, allocations: 0 / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.977e-05/0.4203, allocations: 35.97 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006405/0.4209, allocations: 372.5 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.4211, allocations: 94.53 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.715e-05/0.4212, allocations: 44.78 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.4212, allocations: 0 / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002752/0.4215, allocations: 127.3 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.4215, allocations: 0 / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0004877/0.422, allocations: 209.5 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.4221, allocations: 55.41 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.4222, allocations: 113.8 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.639e-05/0.4222, allocations: 33.7 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.104e-05/0.4223, allocations: 92.28 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.4223, allocations: 27.7 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.722e-05/0.4224, allocations: 49.69 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4226, allocations: 318.8 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.4227, allocations: 55.88 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.4228, allocations: 80.27 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.423, allocations: 145.6 kB / 1.073 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.423, allocations: 0 / 1.073 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003706/0.4234, allocations: 207.2 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.14e-05/0.4235, allocations: 33.7 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.4235, allocations: 4 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.4235, allocations: 4.125 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.014e-05/0.4236, allocations: 15.92 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.4236, allocations: 4 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.4238, allocations: 31.91 kB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.4238, allocations: 15.92 kB / 1.073 GB, free: 5.223 MB / 0.8262 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.0001241/0.424, allocations: 135 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.424, allocations: 15.91 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.267e-05/0.424, allocations: 8.5 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.424, allocations: 0 / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.424, allocations: 7.922 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.4241, allocations: 4 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004167/0.4245, allocations: 430.5 kB / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4245, allocations: 3.938 kB / 1.073 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.897e-05/0.4245, allocations: 4 kB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4245, allocations: 0 / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.4246, allocations: 7.984 kB / 1.073 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4246, allocations: 4 kB / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.4246, allocations: 0 / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.4249, allocations: 259.3 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.931e-05/0.4249, allocations: 84.95 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.4249, allocations: 11.98 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.494e-05/0.425, allocations: 4 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.829e-05/0.4251, allocations: 19.97 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.4251, allocations: 11.94 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.762e-05/0.4252, allocations: 91.52 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4252, allocations: 0 / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002678/0.4255, allocations: 32 kB / 1.074 GB, free: 4.012 MB / 0.8262 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.0001984/0.4257, allocations: 112.5 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000344/0.426, allocations: 195.3 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.426, allocations: 4.25 kB / 1.074 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.4261, allocations: 71.91 kB / 1.074 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.4264, allocations: 15.98 kB / 1.074 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004168/0.4269, allocations: 207.4 kB / 1.074 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.4271, allocations: 0.6965 MB / 1.075 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.54e-05/0.4272, allocations: 8.547 kB / 1.075 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.385e-05/0.4272, allocations: 19.44 kB / 1.075 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.4272, allocations: 0 / 1.075 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of Templates: time 0.004766/0.432, allocations: 1.524 MB / 1.077 GB, free: 1.113 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches