Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Timer,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|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,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|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007717/0.007717, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001562/0.001562, allocations: 196.1 kB / 16.67 MB, free: 5.52 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: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.393/2.393, allocations: 390.2 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 67.89 kB / 0.9509 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9532/0.9546, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001824/0.9564, allocations: 0.7373 MB / 1.089 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.9579, allocations: 1.258 MB / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.669e-05/0.958, allocations: 1.125 kB / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.317e-05/0.958, allocations: 9.094 kB / 1.09 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.817e-05/0.9581, allocations: 20.78 kB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006995/0.9588, allocations: 246.9 kB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003682/0.9592, allocations: 265.2 kB / 1.09 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.9593, allocations: 21.48 kB / 1.09 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.9595, allocations: 98.41 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.9597, allocations: 103.9 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.8e-05/0.9598, allocations: 23.19 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.9599, allocations: 38.16 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.478e-05/0.9599, allocations: 29.44 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.9601, allocations: 96.78 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003185/0.9604, allocations: 221.3 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.9604, allocations: 0 / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9604, allocations: 0 / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.9604, allocations: 4.875 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007441/0.9612, allocations: 0.4909 MB / 1.092 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.9612, allocations: 9.094 kB / 1.092 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.623e-05/0.9613, allocations: 18.05 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005509/0.9618, allocations: 253.7 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.272e-05/0.9619, allocations: 14.08 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.509e-05/0.962, allocations: 19.47 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003241/0.9623, allocations: 139.8 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.9623, allocations: 4.844 kB / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/0.9624, allocations: 12.64 kB / 1.092 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.9624, allocations: 1.688 kB / 1.092 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.9625, allocations: 62.81 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008316/0.9634, allocations: 0.5083 MB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.9637, allocations: 158.1 kB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.9638, allocations: 69.48 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.9638, allocations: 5.922 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003854/0.9642, allocations: 208.1 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=22): time 1.463e-06/0.9642, allocations: 0 / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22): time 0.0006428/0.9649, allocations: 302.2 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.9649, allocations: 94.77 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.9651, allocations: 130 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/0.9651, allocations: 38.52 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.88e-05/0.9652, allocations: 96.55 kB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.646e-05/0.9652, allocations: 51.62 kB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.9654, allocations: 82.12 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.951e-05/0.9654, allocations: 322.8 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.9656, allocations: 86.39 kB / 1.094 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.9659, allocations: 148.3 kB / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/0.9662, allocations: 254.4 kB / 1.094 GB, free: 1 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.9662, allocations: 4.875 kB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000612/0.9668, allocations: 362.8 kB / 1.095 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.523e-05/0.9668, allocations: 63.7 kB / 1.095 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.9669, allocations: 1.938 kB / 1.095 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.9669, allocations: 3.5 kB / 1.095 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.967, allocations: 23.27 kB / 1.095 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.967, allocations: 7.438 kB / 1.095 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003536/0.9674, allocations: 73.75 kB / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.977e-05/0.9674, allocations: 16.47 kB / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001271/0.9676, allocations: 142.7 kB / 1.095 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.9676, allocations: 16.83 kB / 1.095 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.42e-05/0.9676, allocations: 19.14 kB / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.465e-06/0.9677, allocations: 3.641 kB / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.9677, allocations: 4.5 kB / 1.095 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.9677, allocations: 5.891 kB / 1.095 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006559/0.9683, allocations: 0.6109 MB / 1.096 GB, free: 84 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.9684, allocations: 0.625 kB / 1.096 GB, free: 84 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.357e-05/0.9684, allocations: 8.422 kB / 1.096 GB, free: 84 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.9684, allocations: 5.766 kB / 1.096 GB, free: 80 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.9684, allocations: 9.781 kB / 1.096 GB, free: 76 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.9685, allocations: 6.594 kB / 1.096 GB, free: 72 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.9685, allocations: 0 / 1.096 GB, free: 72 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005233/0.969, allocations: 417.7 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.531e-05/0.9691, allocations: 97.5 kB / 1.096 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.202e-05/0.9691, allocations: 14.77 kB / 1.096 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.9693, allocations: 12.81 kB / 1.096 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.207e-05/0.9693, allocations: 27.58 kB / 1.096 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/0.9694, allocations: 16.16 kB / 1.096 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 5.611e-05/0.9694, allocations: 92.98 kB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9694, allocations: 1.375 kB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003877/0.9698, allocations: 51.89 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002052/0.9701, allocations: 123.1 kB / 1.097 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006325/0.9707, allocations: 345.3 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.9707, allocations: 4 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.9709, allocations: 119.8 kB / 1.097 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.9713, allocations: 30.56 kB / 1.097 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005527/0.9719, allocations: 273.9 kB / 1.097 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.9722, allocations: 0.7087 MB / 1.098 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.432e-05/0.9722, allocations: 15.92 kB / 1.098 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.125e-05/0.9723, allocations: 23.31 kB / 1.098 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.9723, allocations: 3.938 kB / 1.098 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of Templates: time 0.007156/0.9795, allocations: 2.69 MB / 1.101 GB, free: 14.1 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches