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.001651/0.001651, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001963/0.001963, allocations: 193.6 kB / 16.14 MB, free: 6.711 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.407/1.407, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.647/2.647, allocations: 461.8 MB / 0.7342 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 64.36 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.359, allocations: 157.4 MB / 1.052 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004415/0.3635, allocations: 3.141 MB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001876/0.3654, allocations: 1.075 MB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000259/0.3657, allocations: 19.88 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.366, allocations: 63.44 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002056/0.3662, allocations: 87.3 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006534/0.3668, allocations: 313.8 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005293/0.3674, allocations: 0.5816 MB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003656/0.3678, allocations: 241.9 kB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002153/0.368, allocations: 175 kB / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.3682, allocations: 190.8 kB / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.92e-05/0.3682, allocations: 20 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.851e-05/0.3683, allocations: 20 kB / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.461e-05/0.3684, allocations: 83.55 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.3686, allocations: 198.7 kB / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005068/0.3691, allocations: 0.6386 MB / 1.059 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3691, allocations: 0 / 1.059 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.012e-06/0.3691, allocations: 0 / 1.059 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.304e-05/0.3691, allocations: 0 / 1.059 GB, free: 1.973 MB / 0.8106 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.001239/0.3704, allocations: 0.8193 MB / 1.06 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.3704, allocations: 12.03 kB / 1.06 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.538e-05/0.3705, allocations: 60.28 kB / 1.06 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007208/0.3712, allocations: 0.4944 MB / 1.06 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.3713, allocations: 21.03 kB / 1.06 GB, free: 496 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.16e-05/0.3713, allocations: 36.28 kB / 1.06 GB, free: 460 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006257/0.372, allocations: 375.1 kB / 1.061 GB, free: 52 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.372, allocations: 3.938 kB / 1.061 GB, free: 48 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.372, allocations: 16 kB / 1.061 GB, free: 32 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.372, allocations: 8 kB / 1.061 GB, free: 24 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005942/0.3726, allocations: 250.1 kB / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.3741, allocations: 1.436 MB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006665/0.3748, allocations: 266.8 kB / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002757/0.3751, allocations: 136.7 kB / 1.063 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.3751, allocations: 8 kB / 1.063 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.3752, allocations: 38.55 kB / 1.063 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=23): time 1.443e-06/0.3752, allocations: 3.938 kB / 1.063 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.0008576/0.376, allocations: 359.1 kB / 1.063 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.3761, allocations: 59.39 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004311/0.3765, allocations: 409.9 kB / 1.063 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.3766, allocations: 33.7 kB / 1.063 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.3767, allocations: 256.1 kB / 1.064 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.039e-05/0.3768, allocations: 86.83 kB / 1.064 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.803e-05/0.3769, allocations: 53.89 kB / 1.064 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.377, allocations: 358.7 kB / 1.064 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.3773, allocations: 100.5 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/0.3775, allocations: 156.7 kB / 1.064 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005108/0.3781, allocations: 273.9 kB / 1.065 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.3781, allocations: 4 kB / 1.065 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006319/0.3787, allocations: 338.6 kB / 1.065 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.3788, allocations: 9.562 kB / 1.065 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3788, allocations: 0 / 1.065 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3788, allocations: 4 kB / 1.065 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.3791, allocations: 59.91 kB / 1.065 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.3791, allocations: 7.922 kB / 1.065 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/0.3793, allocations: 35.92 kB / 1.065 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.3794, allocations: 16 kB / 1.065 GB, free: 11.13 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.000186/0.3796, allocations: 173.8 kB / 1.065 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.337e-05/0.3796, allocations: 43.44 kB / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.956e-05/0.3797, allocations: 47.97 kB / 1.065 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3798, allocations: 0 / 1.065 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3798, allocations: 0 / 1.065 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.3798, allocations: 3.938 kB / 1.065 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004398/0.3802, allocations: 429.2 kB / 1.066 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3802, allocations: 7.984 kB / 1.066 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002726/0.3805, allocations: 47.97 kB / 1.066 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3805, allocations: 0 / 1.066 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.3806, allocations: 8 kB / 1.066 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.3806, allocations: 3.938 kB / 1.066 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3806, allocations: 3.938 kB / 1.066 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009128/0.3815, allocations: 0.5015 MB / 1.066 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.3816, allocations: 144.5 kB / 1.067 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/0.3817, allocations: 4 kB / 1.067 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.3819, allocations: 15.92 kB / 1.067 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.983e-05/0.3819, allocations: 15.97 kB / 1.067 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.3819, allocations: 12 kB / 1.067 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002707/0.3822, allocations: 295.1 kB / 1.067 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3822, allocations: 0 / 1.067 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003138/0.3826, allocations: 59.84 kB / 1.067 GB, free: 9.246 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.0001088/0.3827, allocations: 107.2 kB / 1.067 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005451/0.3832, allocations: 244.8 kB / 1.067 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3832, allocations: 0 / 1.067 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002422/0.3835, allocations: 115.9 kB / 1.067 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007157/0.3842, allocations: 118.2 kB / 1.067 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.3855, allocations: 0.8978 MB / 1.068 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.3859, allocations: 0.8233 MB / 1.069 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002085/0.3861, allocations: 47.25 kB / 1.069 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.323e-05/0.3862, allocations: 35.42 kB / 1.069 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of SimCode: time 1.693e-06/0.3862, allocations: 0 / 1.069 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of Templates: time 0.00719/0.3934, allocations: 3.584 MB / 1.073 GB, free: 3.316 MB / 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