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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009628/0.0009626, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0009183/0.0009183, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.838/2.838, allocations: 436.5 MB / 0.7104 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003974/0.0003975, allocations: 12 kB / 0.8708 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9138/0.9142, allocations: 153.7 MB / 1.021 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003587/0.9178, allocations: 2.616 MB / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.9196, allocations: 0.9941 MB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002571/0.9199, allocations: 19.88 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.982e-05/0.9199, allocations: 35.58 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004599/0.9204, allocations: 147.5 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005289/0.921, allocations: 256.6 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005259/0.9215, allocations: 388.5 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002963/0.9218, allocations: 161.8 kB / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002365/0.922, allocations: 163.1 kB / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.9222, allocations: 147.1 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.636e-05/0.9223, allocations: 12 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.56e-05/0.9223, allocations: 8 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.799e-05/0.9224, allocations: 55.69 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.493e-05/0.9225, allocations: 109.4 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004675/0.923, allocations: 0.5123 MB / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.923, allocations: 0 / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.936e-06/0.923, allocations: 0 / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.923, allocations: 4 kB / 1.026 GB, free: 11.45 MB / 0.7794 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.001213/0.9242, allocations: 0.7475 MB / 1.027 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.9243, allocations: 11.98 kB / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.901e-05/0.9244, allocations: 55.34 kB / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007838/0.9252, allocations: 0.4896 MB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.9252, allocations: 24.59 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.033e-05/0.9252, allocations: 28 kB / 1.028 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006583/0.9259, allocations: 378.8 kB / 1.028 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.9259, allocations: 0 / 1.028 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.738e-05/0.926, allocations: 12 kB / 1.028 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.926, allocations: 15.88 kB / 1.028 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005874/0.9266, allocations: 262 kB / 1.028 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001721/0.9283, allocations: 1.44 MB / 1.03 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006654/0.929, allocations: 274.9 kB / 1.03 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.929, allocations: 4 kB / 1.03 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.9291, allocations: 34.56 kB / 1.03 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=23): time 1.412e-06/0.9291, allocations: 0 / 1.03 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.0008793/0.93, allocations: 378.2 kB / 1.03 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.93, allocations: 55.41 kB / 1.03 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000463/0.9305, allocations: 417.9 kB / 1.031 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.9305, allocations: 33.7 kB / 1.031 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.9307, allocations: 252.1 kB / 1.031 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.516e-05/0.9308, allocations: 82.75 kB / 1.031 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.528e-05/0.9308, allocations: 8 kB / 1.031 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.931, allocations: 350.8 kB / 1.031 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/0.9312, allocations: 108.5 kB / 1.032 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002745/0.9315, allocations: 168.7 kB / 1.032 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002768/0.9318, allocations: 123.9 kB / 1.032 GB, free: 5.465 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.9318, allocations: 0 / 1.032 GB, free: 5.465 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006715/0.9325, allocations: 356 kB / 1.032 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.9325, allocations: 4 kB / 1.032 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.9325, allocations: 4 kB / 1.032 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.9325, allocations: 4 kB / 1.032 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.9328, allocations: 63.89 kB / 1.032 GB, free: 5.039 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.9329, allocations: 4 kB / 1.032 GB, free: 5.035 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.9331, allocations: 36.08 kB / 1.032 GB, free: 5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.9331, allocations: 15.94 kB / 1.032 GB, free: 4.984 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002022/0.9333, allocations: 181.7 kB / 1.032 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.18e-05/0.9334, allocations: 43.44 kB / 1.033 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.738e-05/0.9335, allocations: 47.97 kB / 1.033 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.9335, allocations: 0 / 1.033 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.9335, allocations: 0 / 1.033 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.9335, allocations: 8 kB / 1.033 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004666/0.934, allocations: 429.2 kB / 1.033 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.934, allocations: 11.89 kB / 1.033 GB, free: 4.223 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.9342, allocations: 51.91 kB / 1.033 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.9342, allocations: 0 / 1.033 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.9343, allocations: 7.984 kB / 1.033 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.9343, allocations: 0 / 1.033 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.9343, allocations: 0 / 1.033 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008888/0.9352, allocations: 0.5159 MB / 1.034 GB, free: 3.633 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.9353, allocations: 140.5 kB / 1.034 GB, free: 3.477 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/0.9354, allocations: 0 / 1.034 GB, free: 3.477 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.9356, allocations: 19.98 kB / 1.034 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.257e-05/0.9357, allocations: 19.97 kB / 1.034 GB, free: 3.438 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.9357, allocations: 4.062 kB / 1.034 GB, free: 3.434 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003109/0.936, allocations: 287.1 kB / 1.034 GB, free: 3.156 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.936, allocations: 0 / 1.034 GB, free: 3.156 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003221/0.9363, allocations: 67.78 kB / 1.034 GB, free: 3.09 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001316/0.9365, allocations: 108.9 kB / 1.034 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005813/0.9371, allocations: 251.6 kB / 1.034 GB, free: 2.727 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.9371, allocations: 0 / 1.034 GB, free: 2.727 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002596/0.9373, allocations: 129 kB / 1.035 GB, free: 2.602 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005904/0.9379, allocations: 107.5 kB / 1.035 GB, free: 2.5 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.9393, allocations: 0.8719 MB / 1.036 GB, free: 1.602 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.9397, allocations: 0.831 MB / 1.036 GB, free: 0.7461 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002101/0.9399, allocations: 55.25 kB / 1.036 GB, free: 0.6953 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.921e-05/0.94, allocations: 27.44 kB / 1.036 GB, free: 0.668 MB / 0.7794 GB Notification: Performance of SimCode: time 4.71e-07/0.94, allocations: 0 / 1.036 GB, free: 0.668 MB / 0.7794 GB Notification: Performance of Templates: time 0.007286/0.9473, allocations: 3.436 MB / 1.04 GB, free: 13.32 MB / 0.795 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","../files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches