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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006348/0.006348, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.001448/0.001448, allocations: 192.1 kB / 16.67 MB, free: 5.949 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.234/1.234, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.389/2.389, allocations: 469.4 MB / 0.7422 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 59.91 kB / 1.064 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7465/0.748, allocations: 159.1 MB / 1.22 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005551/0.7536, allocations: 3.115 MB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002557/0.7562, allocations: 1.087 MB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005831/0.7568, allocations: 15.94 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003929/0.7572, allocations: 95.06 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004472/0.7577, allocations: 115 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009254/0.7586, allocations: 338.7 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0008457/0.7595, allocations: 0.6403 MB / 1.225 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003896/0.7599, allocations: 249.9 kB / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002894/0.7602, allocations: 230.9 kB / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002246/0.7604, allocations: 210.8 kB / 1.226 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.825e-05/0.7605, allocations: 52 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.664e-05/0.7606, allocations: 52 kB / 1.226 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.778e-05/0.7607, allocations: 107.6 kB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.7609, allocations: 242.6 kB / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006771/0.7615, allocations: 0.6882 MB / 1.227 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.7616, allocations: 0 / 1.227 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7616, allocations: 8 kB / 1.227 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.7616, allocations: 0 / 1.227 GB, free: 11.09 MB / 0.9512 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.001269/0.7629, allocations: 0.8367 MB / 1.228 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.7629, allocations: 8.625 kB / 1.228 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.853e-05/0.763, allocations: 66.73 kB / 1.228 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.102e-05/0.7631, allocations: 64.52 kB / 1.228 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008767/0.764, allocations: 0.5143 MB / 1.228 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.764, allocations: 21.03 kB / 1.228 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.916e-05/0.7641, allocations: 28.38 kB / 1.228 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006296/0.7647, allocations: 378.9 kB / 1.229 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.7647, allocations: 4 kB / 1.229 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.7648, allocations: 8 kB / 1.229 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.7648, allocations: 8 kB / 1.229 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005757/0.7654, allocations: 254 kB / 1.229 GB, free: 8.793 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.7669, allocations: 1.417 MB / 1.23 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006742/0.7676, allocations: 274.9 kB / 1.231 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002829/0.7679, allocations: 136.8 kB / 1.231 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.7679, allocations: 4 kB / 1.231 GB, free: 6.883 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.7679, allocations: 34.56 kB / 1.231 GB, free: 6.84 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=23): time 1.293e-06/0.7679, allocations: 0 / 1.231 GB, free: 6.84 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23): time 0.0008672/0.7688, allocations: 370.8 kB / 1.231 GB, free: 6.473 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.7688, allocations: 55.41 kB / 1.231 GB, free: 6.406 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004133/0.7693, allocations: 417.8 kB / 1.232 GB, free: 5.996 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.7693, allocations: 33.7 kB / 1.232 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.7695, allocations: 260.4 kB / 1.232 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.94e-05/0.7695, allocations: 87.27 kB / 1.232 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.527e-05/0.7696, allocations: 61.92 kB / 1.232 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.7698, allocations: 346.8 kB / 1.232 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.77, allocations: 100.5 kB / 1.232 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/0.7703, allocations: 164.7 kB / 1.233 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000509/0.7708, allocations: 275.3 kB / 1.233 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.7708, allocations: 4 kB / 1.233 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006226/0.7715, allocations: 344.8 kB / 1.233 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.7715, allocations: 11.94 kB / 1.233 GB, free: 4.254 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.7715, allocations: 0 / 1.233 GB, free: 4.254 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.7715, allocations: 4 kB / 1.233 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.7718, allocations: 67.89 kB / 1.233 GB, free: 4.184 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.7718, allocations: 4 kB / 1.233 GB, free: 4.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.772, allocations: 31.77 kB / 1.233 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.772, allocations: 12.19 kB / 1.233 GB, free: 4.137 MB / 0.9512 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.0001626/0.7722, allocations: 177.7 kB / 1.233 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.88e-05/0.7723, allocations: 43.72 kB / 1.233 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.236e-05/0.7724, allocations: 51.97 kB / 1.234 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.7724, allocations: 0 / 1.234 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.7724, allocations: 0 / 1.234 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.7724, allocations: 7.938 kB / 1.234 GB, free: 3.848 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004265/0.7728, allocations: 433.2 kB / 1.234 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.7728, allocations: 4 kB / 1.234 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/0.7731, allocations: 47.91 kB / 1.234 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.7731, allocations: 4 kB / 1.234 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.7731, allocations: 7.984 kB / 1.234 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.7732, allocations: 0 / 1.234 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.7732, allocations: 3.984 kB / 1.234 GB, free: 3.309 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008398/0.774, allocations: 0.4911 MB / 1.234 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.7741, allocations: 144.8 kB / 1.235 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/0.7742, allocations: 4 kB / 1.235 GB, free: 2.637 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.7744, allocations: 15.98 kB / 1.235 GB, free: 2.621 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.04e-05/0.7744, allocations: 15.91 kB / 1.235 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.7745, allocations: 15.94 kB / 1.235 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002975/0.7748, allocations: 291.2 kB / 1.235 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.533e-06/0.7748, allocations: 0 / 1.235 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003033/0.7751, allocations: 75.72 kB / 1.235 GB, free: 2.23 MB / 0.9512 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.0011/0.7762, allocations: 1.038 MB / 1.236 GB, free: 1.168 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005585/0.7768, allocations: 246.4 kB / 1.236 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.7768, allocations: 4 kB / 1.236 GB, free: 0.9258 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002446/0.777, allocations: 123.8 kB / 1.236 GB, free: 0.8047 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006561/0.7777, allocations: 125.8 kB / 1.236 GB, free: 0.6914 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004764/0.7825, allocations: 3.512 MB / 1.24 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.783, allocations: 0.8194 MB / 1.241 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000228/0.7832, allocations: 51.25 kB / 1.241 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/0.7834, allocations: 147.4 kB / 1.241 GB, free: 12 MB / 0.9669 GB Notification: Performance of SimCode: time 6.11e-07/0.7834, allocations: 0 / 1.241 GB, free: 12 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03567/0.8191, allocations: 8.03 MB / 1.249 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.653/8.472, allocations: 1.984 kB / 1.249 GB, free: 4.219 MB / 0.9669 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.csv --start-time 0 --stop-time 604800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 241.92 Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > 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.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches