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: "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_9_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_9_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.00964/0.00964, allocations: 99.86 kB / 15.73 MB, free: 6.004 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.001739/0.001739, allocations: 191 kB / 16.67 MB, free: 5.934 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.827/1.827, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.03/3.03, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 65.06 kB / 0.9504 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4888/0.49, allocations: 140.4 MB / 1.087 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004946/0.495, allocations: 3.107 MB / 1.091 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002302/0.4974, allocations: 1.095 MB / 1.092 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003107/0.4977, allocations: 19.88 kB / 1.092 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009156/0.4986, allocations: 87.12 kB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002608/0.4989, allocations: 115 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008468/0.4998, allocations: 341 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00919/0.509, allocations: 0.6325 MB / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005323/0.5095, allocations: 258.1 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004234/0.51, allocations: 227 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002885/0.5103, allocations: 210.8 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.216e-05/0.5104, allocations: 52 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.143e-05/0.5104, allocations: 52 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.5105, allocations: 111.5 kB / 1.094 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002055/0.5108, allocations: 234.7 kB / 1.094 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008838/0.5116, allocations: 0.6925 MB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.5117, allocations: 0 / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.555e-06/0.5117, allocations: 4 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.5117, allocations: 0 / 1.094 GB, free: 10.79 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.001476/0.5132, allocations: 0.8406 MB / 1.095 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.5132, allocations: 8.031 kB / 1.095 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.825e-05/0.5133, allocations: 66.72 kB / 1.095 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.5135, allocations: 60.56 kB / 1.095 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.5145, allocations: 0.5182 MB / 1.096 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.5145, allocations: 21.03 kB / 1.096 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.996e-05/0.5146, allocations: 32.38 kB / 1.096 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006619/0.5153, allocations: 367 kB / 1.096 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.5153, allocations: 4 kB / 1.096 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.349e-05/0.5153, allocations: 8 kB / 1.096 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.5153, allocations: 11.94 kB / 1.096 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000605/0.516, allocations: 262 kB / 1.097 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001711/0.5177, allocations: 1.425 MB / 1.098 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000707/0.5184, allocations: 264.3 kB / 1.098 GB, free: 6.715 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/0.5187, allocations: 148.7 kB / 1.098 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/0.5187, allocations: 4 kB / 1.098 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.5188, allocations: 34.56 kB / 1.098 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=23): time 1.823e-06/0.5188, allocations: 3.938 kB / 1.098 GB, free: 6.516 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23): time 0.0008961/0.5197, allocations: 358.3 kB / 1.099 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.5197, allocations: 55.41 kB / 1.099 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004679/0.5202, allocations: 417.9 kB / 1.099 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.5202, allocations: 33.7 kB / 1.099 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/0.5205, allocations: 264.4 kB / 1.1 GB, free: 5.375 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.007584/0.528, allocations: 79.33 kB / 1.1 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.5282, allocations: 57.94 kB / 1.1 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.5284, allocations: 354.8 kB / 1.1 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/0.5287, allocations: 100.5 kB / 1.1 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/0.529, allocations: 156.8 kB / 1.1 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005933/0.5296, allocations: 278 kB / 1.101 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.5296, allocations: 0 / 1.101 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007911/0.5304, allocations: 342.4 kB / 1.101 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.5305, allocations: 9.719 kB / 1.101 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.5305, allocations: 0 / 1.101 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.004e-05/0.5305, allocations: 4 kB / 1.101 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.5308, allocations: 63.89 kB / 1.101 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.5308, allocations: 4 kB / 1.101 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.5311, allocations: 39.95 kB / 1.101 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.5311, allocations: 12 kB / 1.101 GB, free: 3.832 MB / 0.8575 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.0002416/0.5314, allocations: 177.8 kB / 1.101 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.77e-05/0.5315, allocations: 47.7 kB / 1.101 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.5316, allocations: 43.98 kB / 1.101 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.5316, allocations: 0 / 1.101 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.5316, allocations: 0 / 1.101 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.5316, allocations: 11.92 kB / 1.101 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000568/0.5322, allocations: 429.2 kB / 1.102 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.5322, allocations: 15.88 kB / 1.102 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002685/0.5325, allocations: 43.97 kB / 1.102 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/0.5325, allocations: 7.984 kB / 1.102 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/0.5325, allocations: 4 kB / 1.102 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.5325, allocations: 0 / 1.102 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5326, allocations: 0 / 1.102 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009881/0.5335, allocations: 0.5079 MB / 1.102 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001897/0.5337, allocations: 144.8 kB / 1.102 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.889e-05/0.5338, allocations: 4 kB / 1.102 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.534, allocations: 15.92 kB / 1.102 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.817e-05/0.5341, allocations: 15.98 kB / 1.102 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.5341, allocations: 12 kB / 1.102 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003557/0.5345, allocations: 295.1 kB / 1.103 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.5345, allocations: 0 / 1.103 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003679/0.5349, allocations: 63.84 kB / 1.103 GB, free: 1.93 MB / 0.8575 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.001376/0.5363, allocations: 1.042 MB / 1.104 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006927/0.537, allocations: 244.2 kB / 1.104 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.537, allocations: 0 / 1.104 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002745/0.5373, allocations: 122.5 kB / 1.104 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007725/0.5381, allocations: 122 kB / 1.104 GB, free: 408 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/0.5511, allocations: 3.499 MB / 1.108 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005312/0.5517, allocations: 0.8155 MB / 1.108 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002623/0.552, allocations: 55.25 kB / 1.108 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/0.5522, allocations: 147.4 kB / 1.109 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of SimCode: time 1.192e-06/0.5522, allocations: 0 / 1.109 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1142/0.6664, allocations: 8.03 MB / 1.116 GB, free: 3.902 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/10.75, allocations: 3.938 kB / 1.116 GB, free: 3.898 MB / 0.8731 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins1/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