Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.008248/0.008248, allocations: 96.23 kB / 15.73 MB, free: 6.059 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.001894/0.001894, allocations: 200.3 kB / 16.68 MB, free: 5.98 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.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.504/2.504, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 69.3 kB / 0.9509 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2909, allocations: 140.4 MB / 1.088 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004355/0.2953, allocations: 3.107 MB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001975/0.2973, allocations: 1.099 MB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002669/0.2976, allocations: 19.88 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002637/0.2979, allocations: 91.11 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.2981, allocations: 107 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006797/0.2988, allocations: 341.8 kB / 1.093 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005531/0.2994, allocations: 0.6402 MB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003605/0.2998, allocations: 253.8 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002567/0.3, allocations: 227 kB / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.3002, allocations: 206.9 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.611e-05/0.3003, allocations: 56 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.851e-05/0.3004, allocations: 52 kB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.936e-05/0.3005, allocations: 115.5 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.3007, allocations: 238.7 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006051/0.3013, allocations: 0.6846 MB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3013, allocations: 3.938 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3013, allocations: 0 / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.3013, allocations: 0 / 1.095 GB, free: 10.29 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001205/0.3025, allocations: 0.8367 MB / 1.096 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.3026, allocations: 8.031 kB / 1.096 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.459e-05/0.3027, allocations: 64.56 kB / 1.096 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008304/0.3035, allocations: 0.5143 MB / 1.096 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.3035, allocations: 25.03 kB / 1.096 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.432e-05/0.3036, allocations: 28.38 kB / 1.096 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006225/0.3042, allocations: 379.1 kB / 1.097 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3042, allocations: 3.938 kB / 1.097 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.296e-05/0.3043, allocations: 15.98 kB / 1.097 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.3043, allocations: 8 kB / 1.097 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005904/0.3049, allocations: 253.9 kB / 1.097 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.3064, allocations: 1.429 MB / 1.098 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006842/0.3071, allocations: 269.8 kB / 1.099 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002832/0.3074, allocations: 136.8 kB / 1.099 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.3074, allocations: 4 kB / 1.099 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.3075, allocations: 38.55 kB / 1.099 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=23): time 1.703e-06/0.3075, allocations: 0 / 1.099 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23): time 0.0008709/0.3083, allocations: 358.8 kB / 1.099 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.453e-05/0.3084, allocations: 51.41 kB / 1.099 GB, free: 5.672 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000428/0.3088, allocations: 418 kB / 1.1 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.3088, allocations: 25.7 kB / 1.1 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.309, allocations: 268.4 kB / 1.1 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.402e-05/0.3091, allocations: 83.31 kB / 1.1 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.57e-05/0.3092, allocations: 61.88 kB / 1.1 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.3093, allocations: 358.7 kB / 1.1 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/0.3096, allocations: 88.52 kB / 1.1 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002799/0.3099, allocations: 168.8 kB / 1.101 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005189/0.3104, allocations: 272 kB / 1.101 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3104, allocations: 0 / 1.101 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006502/0.311, allocations: 338.1 kB / 1.101 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3111, allocations: 8 kB / 1.101 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3111, allocations: 3.984 kB / 1.101 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3111, allocations: 8.25 kB / 1.101 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/0.3114, allocations: 63.91 kB / 1.101 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.3114, allocations: 7.984 kB / 1.101 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.3116, allocations: 39.7 kB / 1.101 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.3117, allocations: 12 kB / 1.101 GB, free: 3.398 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: 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.0001782/0.3118, allocations: 169.1 kB / 1.102 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.58e-05/0.3119, allocations: 47.72 kB / 1.102 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.287e-05/0.312, allocations: 51.97 kB / 1.102 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.312, allocations: 8 kB / 1.102 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.312, allocations: 3.938 kB / 1.102 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.312, allocations: 7.875 kB / 1.102 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/0.3125, allocations: 429.3 kB / 1.102 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.3125, allocations: 0 / 1.102 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002788/0.3128, allocations: 47.89 kB / 1.102 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.3128, allocations: 4 kB / 1.102 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.3128, allocations: 4 kB / 1.102 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3128, allocations: 4 kB / 1.102 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3128, allocations: 4 kB / 1.102 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008832/0.3137, allocations: 0.5006 MB / 1.103 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.3139, allocations: 144.8 kB / 1.103 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.3139, allocations: 4 kB / 1.103 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.3141, allocations: 15.98 kB / 1.103 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.178e-05/0.3142, allocations: 15.98 kB / 1.103 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.3142, allocations: 11.92 kB / 1.103 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002875/0.3145, allocations: 287.1 kB / 1.103 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3145, allocations: 0 / 1.103 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003248/0.3148, allocations: 67.84 kB / 1.103 GB, free: 1.508 MB / 0.8575 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.0001119/0.315, allocations: 111.2 kB / 1.103 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000593/0.3155, allocations: 239.6 kB / 1.103 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3156, allocations: 0.5 kB / 1.103 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002581/0.3158, allocations: 121.7 kB / 1.104 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006749/0.3165, allocations: 122 kB / 1.104 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.3177, allocations: 0.7361 MB / 1.104 GB, free: 164 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.3181, allocations: 0.8155 MB / 1.105 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000177/0.3183, allocations: 47.27 kB / 1.105 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.026e-05/0.3184, allocations: 31.42 kB / 1.105 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.3184, allocations: 7.938 kB / 1.105 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of Templates: time 0.007507/0.3259, allocations: 3.858 MB / 1.109 GB, free: 11.45 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile (rm -f Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches