Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.002278/0.002278, allocations: 106.9 kB / 16.27 MB, free: 6.414 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.002423/0.002423, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.588/1.588, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.642/2.642, allocations: 437.1 MB / 0.7111 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 71.92 kB / 0.8699 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4169, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.006225/0.4232, allocations: 3.106 MB / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0026/0.4258, allocations: 1.099 MB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003311/0.4262, allocations: 15.94 kB / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0003351/0.4265, allocations: 95.05 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002463/0.4269, allocations: 107 kB / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008089/0.4277, allocations: 341.4 kB / 1.023 GB, free: 5.816 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0007774/0.4285, allocations: 0.6325 MB / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004506/0.4289, allocations: 249.9 kB / 1.024 GB, free: 4.938 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002962/0.4292, allocations: 219 kB / 1.024 GB, free: 4.723 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002839/0.4295, allocations: 210.8 kB / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.229e-05/0.4296, allocations: 52 kB / 1.024 GB, free: 4.465 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.462e-05/0.4297, allocations: 59.94 kB / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.4298, allocations: 107.6 kB / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002268/0.4301, allocations: 234.7 kB / 1.024 GB, free: 4.07 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0007103/0.4308, allocations: 0.6699 MB / 1.025 GB, free: 3.398 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.4308, allocations: 0 / 1.025 GB, free: 3.398 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.975e-06/0.4308, allocations: 3.938 kB / 1.025 GB, free: 3.395 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.4308, allocations: 0 / 1.025 GB, free: 3.395 MB / 0.795 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.001469/0.4323, allocations: 0.8098 MB / 1.026 GB, free: 2.535 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.4323, allocations: 12.92 kB / 1.026 GB, free: 2.523 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.4325, allocations: 60.28 kB / 1.026 GB, free: 2.465 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008517/0.4333, allocations: 0.4983 MB / 1.026 GB, free: 1.922 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.4334, allocations: 25.03 kB / 1.026 GB, free: 1.898 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.225e-05/0.4334, allocations: 32.28 kB / 1.026 GB, free: 1.867 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006846/0.4341, allocations: 375.1 kB / 1.027 GB, free: 1.469 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.4341, allocations: 0 / 1.027 GB, free: 1.469 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.891e-05/0.4342, allocations: 12 kB / 1.027 GB, free: 1.457 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.4342, allocations: 7.938 kB / 1.027 GB, free: 1.449 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006155/0.4348, allocations: 258 kB / 1.027 GB, free: 1.199 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001852/0.4367, allocations: 1.432 MB / 1.028 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007209/0.4374, allocations: 278.6 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002951/0.4377, allocations: 139.4 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.4378, allocations: 0 / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.4378, allocations: 34.56 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=23): time 1.103e-06/0.4378, allocations: 4 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=23): time 0.0009324/0.4387, allocations: 352.9 kB / 1.029 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.4388, allocations: 55.41 kB / 1.029 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005119/0.4393, allocations: 413.9 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.4394, allocations: 37.7 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/0.4396, allocations: 260 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.402e-05/0.4397, allocations: 82.84 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.4398, allocations: 53.89 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001965/0.44, allocations: 362.7 kB / 1.03 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/0.4403, allocations: 92.52 kB / 1.03 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/0.4406, allocations: 161.3 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005712/0.4412, allocations: 278.1 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4412, allocations: 0 / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006746/0.4419, allocations: 331.1 kB / 1.031 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.4419, allocations: 4.25 kB / 1.031 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.4419, allocations: 11.98 kB / 1.031 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.442, allocations: 4 kB / 1.031 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.4422, allocations: 59.91 kB / 1.031 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.4423, allocations: 4 kB / 1.031 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.4425, allocations: 35.67 kB / 1.031 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.4425, allocations: 11.98 kB / 1.031 GB, free: 12.56 MB / 0.8106 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.0002174/0.4427, allocations: 169.8 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.585e-05/0.4428, allocations: 51.42 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.4429, allocations: 47.97 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.4429, allocations: 4 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.4429, allocations: 0 / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.443, allocations: 3.938 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005419/0.4435, allocations: 441.1 kB / 1.032 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4435, allocations: 3.938 kB / 1.032 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.4438, allocations: 51.89 kB / 1.032 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4438, allocations: 0 / 1.032 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.4438, allocations: 16 kB / 1.032 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.4438, allocations: 0 / 1.032 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4438, allocations: 0 / 1.032 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009796/0.4448, allocations: 0.5042 MB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.445, allocations: 140.5 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.671e-05/0.445, allocations: 8 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.4452, allocations: 11.98 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.998e-05/0.4453, allocations: 11.98 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.4453, allocations: 15.92 kB / 1.033 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003368/0.4457, allocations: 287.1 kB / 1.033 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4457, allocations: 0 / 1.033 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003305/0.446, allocations: 67.84 kB / 1.033 GB, free: 10.66 MB / 0.8106 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.0001311/0.4462, allocations: 109.4 kB / 1.033 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006572/0.4468, allocations: 248.2 kB / 1.033 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4468, allocations: 0 / 1.033 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002688/0.4471, allocations: 126.7 kB / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007262/0.4478, allocations: 112.1 kB / 1.034 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.4493, allocations: 0.7788 MB / 1.034 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004773/0.4498, allocations: 0.8155 MB / 1.035 GB, free: 8.426 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.4499, allocations: 39.42 kB / 1.035 GB, free: 8.387 MB / 0.8106 GB Notification: Performance of SimCode: time 6.41e-07/0.4499, allocations: 4 kB / 1.035 GB, free: 8.383 MB / 0.8106 GB Notification: Performance of Templates: time 0.00897/0.4589, allocations: 5.325 MB / 1.04 GB, free: 3.105 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile (rm -f Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches