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.005701/0.005701, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.00122/0.00122, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.308/2.308, allocations: 390.2 MB / 0.6648 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.91 kB / 0.9508 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9876/0.9888, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004566/0.9935, allocations: 3.113 MB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002313/0.9958, allocations: 1.092 MB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003627/0.9962, allocations: 20.25 kB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.9965, allocations: 85.56 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002343/0.9967, allocations: 109.1 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000764/0.9975, allocations: 344.8 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007131/0.9982, allocations: 0.6379 MB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004301/0.9987, allocations: 250.7 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002789/0.999, allocations: 223.7 kB / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/0.9992, allocations: 209.7 kB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.9993, allocations: 52.75 kB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.318e-05/0.9994, allocations: 52.94 kB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.453e-05/0.9995, allocations: 115 kB / 1.094 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.9997, allocations: 237.8 kB / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008335/1.001, allocations: 0.6769 MB / 1.095 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/1.001, allocations: 1.734 kB / 1.095 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/1.001, allocations: 0 / 1.095 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.997e-06/1.001, allocations: 4 kB / 1.095 GB, free: 0.8945 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.001348/1.002, allocations: 0.8243 MB / 1.096 GB, free: 260 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/1.002, allocations: 13.88 kB / 1.096 GB, free: 256 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/1.002, allocations: 59.69 kB / 1.096 GB, free: 224 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009874/1.003, allocations: 0.5153 MB / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.305e-05/1.003, allocations: 24.69 kB / 1.096 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.234e-05/1.003, allocations: 27.41 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007681/1.004, allocations: 371.9 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/1.004, allocations: 4.844 kB / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.004e-05/1.004, allocations: 15.5 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/1.004, allocations: 7.156 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006852/1.005, allocations: 257 kB / 1.097 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/1.007, allocations: 1.422 MB / 1.098 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007458/1.008, allocations: 267.9 kB / 1.099 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003172/1.008, allocations: 134.5 kB / 1.099 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/1.008, allocations: 7.219 kB / 1.099 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/1.008, allocations: 36.22 kB / 1.099 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=23): time 1.973e-06/1.008, allocations: 5.312 kB / 1.099 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23): time 0.0009863/1.009, allocations: 358.4 kB / 1.099 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/1.009, allocations: 55.02 kB / 1.099 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005653/1.01, allocations: 409.1 kB / 1.1 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/1.01, allocations: 34.7 kB / 1.1 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/1.01, allocations: 258.5 kB / 1.1 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.85e-05/1.01, allocations: 80.36 kB / 1.1 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/1.01, allocations: 54.8 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001623/1.01, allocations: 358.5 kB / 1.1 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000276/1.01, allocations: 98.81 kB / 1.1 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003114/1.011, allocations: 164.4 kB / 1.101 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005889/1.011, allocations: 279.1 kB / 1.101 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.011, allocations: 1.219 kB / 1.101 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008202/1.012, allocations: 336.1 kB / 1.101 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/1.012, allocations: 11.02 kB / 1.101 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/1.012, allocations: 2.5 kB / 1.101 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/1.012, allocations: 2.656 kB / 1.101 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003061/1.013, allocations: 61.91 kB / 1.101 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/1.013, allocations: 4.188 kB / 1.101 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/1.013, allocations: 34.33 kB / 1.101 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/1.013, allocations: 17.72 kB / 1.101 GB, free: 12.59 MB / 0.8731 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.0002162/1.013, allocations: 178.7 kB / 1.101 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.459e-05/1.013, allocations: 44.66 kB / 1.102 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/1.013, allocations: 45.81 kB / 1.102 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/1.013, allocations: 2.438 kB / 1.102 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/1.013, allocations: 4.656 kB / 1.102 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.078e-06/1.013, allocations: 5.844 kB / 1.102 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006435/1.014, allocations: 430.4 kB / 1.102 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.014, allocations: 0 / 1.102 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002826/1.014, allocations: 52.92 kB / 1.102 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/1.014, allocations: 4.906 kB / 1.102 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/1.014, allocations: 7.406 kB / 1.102 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/1.014, allocations: 0.8125 kB / 1.102 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/1.014, allocations: 1.094 kB / 1.102 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/1.015, allocations: 0.4997 MB / 1.103 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/1.016, allocations: 142.1 kB / 1.103 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.962e-05/1.016, allocations: 6.719 kB / 1.103 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/1.016, allocations: 9.547 kB / 1.103 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.555e-05/1.016, allocations: 17.33 kB / 1.103 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/1.016, allocations: 9.438 kB / 1.103 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000383/1.016, allocations: 290.8 kB / 1.103 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.9e-07/1.016, allocations: 64 / 1.103 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003635/1.017, allocations: 69.41 kB / 1.103 GB, free: 11.46 MB / 0.8731 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.0001273/1.017, allocations: 98.42 kB / 1.103 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007344/1.018, allocations: 249.4 kB / 1.103 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.018, allocations: 4.531 kB / 1.103 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003326/1.018, allocations: 116.6 kB / 1.104 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007459/1.019, allocations: 121.3 kB / 1.104 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/1.02, allocations: 0.7218 MB / 1.104 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/1.021, allocations: 0.8208 MB / 1.105 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000218/1.021, allocations: 53.86 kB / 1.105 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.589e-05/1.021, allocations: 34.92 kB / 1.105 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of SimCode: time 6.21e-07/1.021, allocations: 0 / 1.105 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of Templates: time 0.009631/1.031, allocations: 3.853 MB / 1.109 GB, free: 9.727 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