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.001392/0.001392, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001383/0.001383, allocations: 187 kB / 17.34 MB, free: 5.762 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.14 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.471/2.471, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 59.91 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.003, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004369/1.008, allocations: 3.119 MB / 1.17 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001996/1.01, allocations: 1.095 MB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002979/1.01, allocations: 19.88 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003117/1.01, allocations: 87.12 kB / 1.172 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002587/1.011, allocations: 115 kB / 1.172 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008075/1.012, allocations: 333.2 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000698/1.012, allocations: 0.6441 MB / 1.173 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004127/1.013, allocations: 249.9 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000273/1.013, allocations: 227.1 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/1.013, allocations: 210.8 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.965e-05/1.013, allocations: 52 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.215e-05/1.013, allocations: 52 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001104/1.013, allocations: 103.6 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001913/1.014, allocations: 250.6 kB / 1.174 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006318/1.014, allocations: 0.6905 MB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/1.014, allocations: 0 / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.365e-06/1.014, allocations: 0 / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.468e-05/1.014, allocations: 0 / 1.174 GB, free: 12.61 MB / 0.9044 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.001307/1.016, allocations: 0.8176 MB / 1.175 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/1.016, allocations: 8.922 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/1.016, allocations: 60.19 kB / 1.175 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008618/1.017, allocations: 0.5139 MB / 1.176 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/1.017, allocations: 21.03 kB / 1.176 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.22e-05/1.017, allocations: 24.38 kB / 1.176 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005972/1.017, allocations: 379.1 kB / 1.176 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/1.017, allocations: 0 / 1.176 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.138e-05/1.017, allocations: 12 kB / 1.176 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/1.017, allocations: 8 kB / 1.176 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005526/1.018, allocations: 254 kB / 1.176 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/1.02, allocations: 1.425 MB / 1.178 GB, free: 8.914 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006555/1.02, allocations: 278.6 kB / 1.178 GB, free: 8.633 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002659/1.02, allocations: 140.8 kB / 1.178 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/1.021, allocations: 7.984 kB / 1.178 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/1.021, allocations: 34.56 kB / 1.178 GB, free: 8.441 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=23): time 1.443e-06/1.021, allocations: 0 / 1.178 GB, free: 8.441 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23): time 0.0008499/1.021, allocations: 358.1 kB / 1.179 GB, free: 8.086 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/1.021, allocations: 59.39 kB / 1.179 GB, free: 8.016 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004341/1.022, allocations: 410 kB / 1.179 GB, free: 7.609 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/1.022, allocations: 25.7 kB / 1.179 GB, free: 7.578 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000188/1.022, allocations: 260.1 kB / 1.179 GB, free: 7.32 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.318e-05/1.022, allocations: 82.75 kB / 1.179 GB, free: 7.238 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.911e-05/1.022, allocations: 57.92 kB / 1.179 GB, free: 7.172 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.022, allocations: 362.7 kB / 1.18 GB, free: 6.809 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/1.023, allocations: 92.5 kB / 1.18 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/1.023, allocations: 161.4 kB / 1.18 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004815/1.023, allocations: 268.2 kB / 1.18 GB, free: 6.246 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/1.023, allocations: 0 / 1.18 GB, free: 6.246 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006112/1.024, allocations: 343.6 kB / 1.181 GB, free: 5.906 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/1.024, allocations: 4 kB / 1.181 GB, free: 5.902 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/1.024, allocations: 4 kB / 1.181 GB, free: 5.898 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/1.024, allocations: 4 kB / 1.181 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/1.024, allocations: 63.89 kB / 1.181 GB, free: 5.832 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/1.024, allocations: 4 kB / 1.181 GB, free: 5.828 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/1.025, allocations: 39.95 kB / 1.181 GB, free: 5.789 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/1.025, allocations: 12 kB / 1.181 GB, free: 5.777 MB / 0.9044 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.0001792/1.025, allocations: 169.8 kB / 1.181 GB, free: 5.602 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.476e-05/1.025, allocations: 43.44 kB / 1.181 GB, free: 5.559 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.54e-05/1.025, allocations: 47.97 kB / 1.181 GB, free: 5.504 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/1.025, allocations: 4 kB / 1.181 GB, free: 5.5 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/1.025, allocations: 3.938 kB / 1.181 GB, free: 5.496 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/1.025, allocations: 3.938 kB / 1.181 GB, free: 5.492 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004573/1.026, allocations: 441.2 kB / 1.181 GB, free: 5.012 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/1.026, allocations: 0 / 1.181 GB, free: 5.012 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/1.026, allocations: 47.97 kB / 1.181 GB, free: 4.965 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/1.026, allocations: 0 / 1.181 GB, free: 4.965 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/1.026, allocations: 7.938 kB / 1.181 GB, free: 4.957 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/1.026, allocations: 4 kB / 1.181 GB, free: 4.953 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.026, allocations: 0 / 1.181 GB, free: 4.953 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000863/1.027, allocations: 0.5047 MB / 1.182 GB, free: 4.434 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/1.027, allocations: 136.5 kB / 1.182 GB, free: 4.281 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.267e-05/1.027, allocations: 4 kB / 1.182 GB, free: 4.277 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/1.027, allocations: 15.98 kB / 1.182 GB, free: 4.262 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/1.027, allocations: 27.89 kB / 1.182 GB, free: 4.234 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/1.027, allocations: 7.938 kB / 1.182 GB, free: 4.227 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002743/1.027, allocations: 287.1 kB / 1.182 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/1.027, allocations: 0 / 1.182 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003184/1.028, allocations: 67.75 kB / 1.182 GB, free: 3.887 MB / 0.9044 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.0001179/1.028, allocations: 111.1 kB / 1.183 GB, free: 3.77 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005579/1.028, allocations: 239.8 kB / 1.183 GB, free: 3.535 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.028, allocations: 4 kB / 1.183 GB, free: 3.531 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002476/1.029, allocations: 119.1 kB / 1.183 GB, free: 3.418 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006547/1.029, allocations: 132.1 kB / 1.183 GB, free: 3.301 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/1.031, allocations: 0.7553 MB / 1.184 GB, free: 2.512 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/1.031, allocations: 0.8194 MB / 1.185 GB, free: 1.668 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.909e-05/1.031, allocations: 35.42 kB / 1.185 GB, free: 1.633 MB / 0.9044 GB Notification: Performance of SimCode: time 3.71e-07/1.031, allocations: 3.938 kB / 1.185 GB, free: 1.629 MB / 0.9044 GB Notification: Performance of Templates: time 0.007529/1.039, allocations: 5.377 MB / 1.19 GB, free: 12.29 MB / 0.92 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=480 -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