Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.009394/0.009394, allocations: 172.6 kB / 16.27 MB, free: 6.648 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.6/1.6, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.406/3.406, allocations: 462.7 MB / 0.7364 GB, free: 304 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0005418/0.0005419, allocations: 9.969 kB / 0.9028 GB, free: 36.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6022/0.6028, allocations: 159.6 MB / 1.059 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003856/0.6067, allocations: 2.745 MB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.6085, allocations: 1.064 MB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002521/0.6088, allocations: 19.88 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002571/0.6091, allocations: 75.38 kB / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000231/0.6093, allocations: 79.38 kB / 1.063 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007085/0.61, allocations: 310.1 kB / 1.063 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006465/0.6107, allocations: 0.5816 MB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00042/0.6111, allocations: 233.8 kB / 1.064 GB, free: 400 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/0.6113, allocations: 163 kB / 1.064 GB, free: 236 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.6116, allocations: 158.9 kB / 1.064 GB, free: 76 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.037e-05/0.6116, allocations: 11.94 kB / 1.064 GB, free: 64 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.629e-05/0.6117, allocations: 12 kB / 1.064 GB, free: 52 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.936e-05/0.6118, allocations: 55.69 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.6119, allocations: 208.3 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005685/0.6125, allocations: 0.6189 MB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.6125, allocations: 0 / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6125, allocations: 0 / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.6126, allocations: 0 / 1.065 GB, free: 15.16 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001285/0.6139, allocations: 0.7361 MB / 1.066 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.6139, allocations: 15.97 kB / 1.066 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.614, allocations: 56.19 kB / 1.066 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007947/0.6148, allocations: 0.5061 MB / 1.066 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.6149, allocations: 25.03 kB / 1.066 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.692e-05/0.6149, allocations: 28.31 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007044/0.6156, allocations: 387.1 kB / 1.067 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.6157, allocations: 4 kB / 1.067 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.269e-05/0.6157, allocations: 8 kB / 1.067 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.6157, allocations: 8 kB / 1.067 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006096/0.6163, allocations: 262.1 kB / 1.067 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/0.618, allocations: 1.44 MB / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007045/0.6188, allocations: 272.5 kB / 1.068 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.6191, allocations: 147.6 kB / 1.069 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.722e-05/0.6191, allocations: 7.969 kB / 1.069 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.6192, allocations: 38.5 kB / 1.069 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=23): time 1.312e-06/0.6192, allocations: 4 kB / 1.069 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.0009381/0.6201, allocations: 384.8 kB / 1.069 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.6202, allocations: 51.41 kB / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004759/0.6206, allocations: 410 kB / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.6207, allocations: 29.7 kB / 1.07 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.6209, allocations: 260 kB / 1.07 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.217e-05/0.621, allocations: 86.75 kB / 1.07 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.894e-05/0.621, allocations: 29.7 kB / 1.07 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.6212, allocations: 358.7 kB / 1.07 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/0.6215, allocations: 100.5 kB / 1.07 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000318/0.6218, allocations: 180.7 kB / 1.07 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005548/0.6224, allocations: 278 kB / 1.071 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6224, allocations: 0 / 1.071 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006771/0.6231, allocations: 354.5 kB / 1.071 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.6231, allocations: 4 kB / 1.071 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.6231, allocations: 4 kB / 1.071 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.6231, allocations: 4 kB / 1.071 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.6234, allocations: 68.14 kB / 1.071 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.6234, allocations: 4 kB / 1.071 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.6236, allocations: 31.77 kB / 1.071 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.6237, allocations: 16 kB / 1.071 GB, free: 8.328 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (conHeaFan.conFan.I.trigger_internal,conHeaFan.conHeaCoi.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * 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.0002093/0.6239, allocations: 181.7 kB / 1.071 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.857e-05/0.624, allocations: 43.44 kB / 1.071 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.6241, allocations: 47.98 kB / 1.071 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.6241, allocations: 0 / 1.071 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.6241, allocations: 4 kB / 1.071 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.6241, allocations: 7.922 kB / 1.071 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004658/0.6246, allocations: 433.2 kB / 1.072 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.6246, allocations: 0 / 1.072 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/0.6248, allocations: 51.91 kB / 1.072 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.6248, allocations: 0 / 1.072 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.6249, allocations: 7.984 kB / 1.072 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.6249, allocations: 4 kB / 1.072 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.6249, allocations: 0 / 1.072 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009379/0.6258, allocations: 0.5167 MB / 1.072 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.626, allocations: 152.4 kB / 1.073 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.113e-05/0.6261, allocations: 0 / 1.073 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.6263, allocations: 20.05 kB / 1.073 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.109e-05/0.6263, allocations: 15.98 kB / 1.073 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.6264, allocations: 11.88 kB / 1.073 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003153/0.6267, allocations: 287.1 kB / 1.073 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6267, allocations: 0 / 1.073 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000312/0.627, allocations: 67.84 kB / 1.073 GB, free: 6.41 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (conHeaFan.conHeaCoi.I.y,conHeaFan.conFan.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001341/0.6271, allocations: 107.2 kB / 1.073 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006148/0.6278, allocations: 248.6 kB / 1.073 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6278, allocations: 0.5 kB / 1.073 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002699/0.6281, allocations: 127.9 kB / 1.073 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007286/0.6288, allocations: 136.4 kB / 1.074 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.6302, allocations: 0.9109 MB / 1.074 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/0.6307, allocations: 0.8236 MB / 1.075 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001885/0.6309, allocations: 47.27 kB / 1.075 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.998e-05/0.631, allocations: 27.44 kB / 1.075 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.631, allocations: 0 / 1.075 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of Templates: time 0.007982/0.639, allocations: 3.54 MB / 1.079 GB, free: 492 kB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile (rm -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches