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.008176/0.008176, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001625/0.001625, allocations: 196.8 kB / 16.67 MB, free: 5.926 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.493/1.493, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.381/2.381, allocations: 390.2 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 67.89 kB / 0.9509 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101/1.102, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001823/1.104, allocations: 0.7445 MB / 1.089 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001459/1.105, allocations: 1.266 MB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.068e-05/1.105, allocations: 0 / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.556e-05/1.105, allocations: 9.891 kB / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.778e-05/1.106, allocations: 15.91 kB / 1.09 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006935/1.106, allocations: 242.7 kB / 1.09 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003034/1.107, allocations: 268.5 kB / 1.09 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/1.107, allocations: 22.22 kB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/1.107, allocations: 98.05 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/1.107, allocations: 100.4 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.116e-05/1.107, allocations: 23.41 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/1.107, allocations: 36.77 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.668e-05/1.107, allocations: 29.88 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/1.107, allocations: 96.53 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003157/1.108, allocations: 225.5 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.108, allocations: 0.5 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.413e-06/1.108, allocations: 0 / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.019e-06/1.108, allocations: 1.031 kB / 1.091 GB, free: 3.652 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.0007112/1.108, allocations: 497.4 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/1.108, allocations: 9.875 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.225e-05/1.109, allocations: 21.88 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005705/1.109, allocations: 262.2 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/1.109, allocations: 11.28 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.767e-05/1.109, allocations: 22.45 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/1.11, allocations: 134.6 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/1.11, allocations: 8.938 kB / 1.092 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/1.11, allocations: 4.094 kB / 1.092 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/1.11, allocations: 10.11 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/1.11, allocations: 58.78 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008794/1.111, allocations: 0.5117 MB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/1.111, allocations: 159 kB / 1.093 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/1.111, allocations: 61.19 kB / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/1.111, allocations: 2.297 kB / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004015/1.111, allocations: 210.6 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=22): time 1.763e-06/1.111, allocations: 0 / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22): time 0.0006347/1.112, allocations: 310.2 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/1.112, allocations: 87.66 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/1.112, allocations: 133.9 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.594e-05/1.112, allocations: 41.64 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.456e-05/1.112, allocations: 96.41 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.639e-05/1.112, allocations: 51.77 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/1.113, allocations: 77.72 kB / 1.094 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.114e-05/1.113, allocations: 326.6 kB / 1.094 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/1.113, allocations: 83.81 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/1.113, allocations: 155.3 kB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002993/1.113, allocations: 252.1 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/1.113, allocations: 4.594 kB / 1.094 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00063/1.114, allocations: 354.9 kB / 1.095 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.509e-05/1.114, allocations: 67.3 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/1.114, allocations: 2.812 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/1.114, allocations: 4.156 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/1.114, allocations: 22.27 kB / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/1.114, allocations: 12.22 kB / 1.095 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004032/1.115, allocations: 65.05 kB / 1.095 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.761e-05/1.115, allocations: 20.14 kB / 1.095 GB, free: 0.7266 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.0001389/1.115, allocations: 142.7 kB / 1.095 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/1.115, allocations: 21.16 kB / 1.095 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.517e-05/1.115, allocations: 10.98 kB / 1.095 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/1.115, allocations: 7.078 kB / 1.095 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.359e-05/1.115, allocations: 5.312 kB / 1.095 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/1.115, allocations: 1.281 kB / 1.095 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006545/1.116, allocations: 0.6122 MB / 1.096 GB, free: 104 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.116, allocations: 0 / 1.096 GB, free: 104 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.615e-05/1.116, allocations: 16.67 kB / 1.096 GB, free: 96 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/1.116, allocations: 4.781 kB / 1.096 GB, free: 92 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/1.116, allocations: 6.312 kB / 1.096 GB, free: 92 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/1.116, allocations: 5.969 kB / 1.096 GB, free: 88 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.116, allocations: 5.672 kB / 1.096 GB, free: 84 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005334/1.116, allocations: 414.2 kB / 1.096 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.683e-05/1.116, allocations: 89.47 kB / 1.096 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.142e-05/1.117, allocations: 18.5 kB / 1.096 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/1.117, allocations: 8.453 kB / 1.096 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.315e-05/1.117, allocations: 23.39 kB / 1.096 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/1.117, allocations: 15.7 kB / 1.096 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 7.652e-05/1.117, allocations: 94.95 kB / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.9e-07/1.117, allocations: 96 / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004126/1.117, allocations: 60.78 kB / 1.097 GB, free: 15.6 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.0002127/1.118, allocations: 119.7 kB / 1.097 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000658/1.118, allocations: 345.9 kB / 1.097 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.118, allocations: 0.9062 kB / 1.097 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002456/1.118, allocations: 124.4 kB / 1.097 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004391/1.119, allocations: 32.56 kB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006251/1.12, allocations: 274.4 kB / 1.097 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/1.12, allocations: 0.7041 MB / 1.098 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.365e-05/1.12, allocations: 19.7 kB / 1.098 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.082e-05/1.12, allocations: 27.08 kB / 1.098 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/1.12, allocations: 0 / 1.098 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of Templates: time 0.00883/1.129, allocations: 2.782 MB / 1.101 GB, free: 14.08 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