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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> 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.01061/0.01061, allocations: 98.19 kB / 15.73 MB, free: 6.012 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.002024/0.002024, allocations: 197.4 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.578/1.578, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.113/3.113, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00235/0.00235, allocations: 59.91 kB / 1.083 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5019/0.5043, allocations: 162.2 MB / 1.241 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.006772/0.5111, allocations: 3.112 MB / 1.244 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003216/0.5144, allocations: 1.091 MB / 1.246 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008279/0.5152, allocations: 23.88 kB / 1.246 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005004/0.5158, allocations: 87.12 kB / 1.246 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006502/0.5165, allocations: 103 kB / 1.246 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.5177, allocations: 346.4 kB / 1.246 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001271/0.519, allocations: 0.6364 MB / 1.247 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006485/0.5197, allocations: 245.9 kB / 1.247 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005267/0.5202, allocations: 222.9 kB / 1.247 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003587/0.5206, allocations: 214.8 kB / 1.247 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.5207, allocations: 52 kB / 1.247 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.062e-05/0.5208, allocations: 52 kB / 1.247 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.5209, allocations: 111.6 kB / 1.248 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002637/0.5212, allocations: 242.6 kB / 1.248 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009572/0.5222, allocations: 0.6885 MB / 1.248 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.5222, allocations: 0 / 1.248 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.424e-06/0.5222, allocations: 0 / 1.248 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.5222, allocations: 0 / 1.248 GB, free: 2.988 MB / 0.9981 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.001563/0.5238, allocations: 0.8445 MB / 1.249 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.167e-05/0.5238, allocations: 12.03 kB / 1.249 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001016/0.5239, allocations: 62.72 kB / 1.249 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.5241, allocations: 64.56 kB / 1.249 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.5251, allocations: 0.5104 MB / 1.25 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.5251, allocations: 25.03 kB / 1.25 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.343e-05/0.5252, allocations: 36.33 kB / 1.25 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007285/0.526, allocations: 371 kB / 1.25 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.526, allocations: 0 / 1.25 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/0.526, allocations: 12 kB / 1.25 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.526, allocations: 4 kB / 1.25 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006291/0.5267, allocations: 262 kB / 1.251 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8311/1.358, allocations: 1.411 MB / 1.252 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007643/1.359, allocations: 263.7 kB / 1.252 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/1.359, allocations: 141 kB / 1.252 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.826e-05/1.359, allocations: 5.422 kB / 1.252 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/1.359, allocations: 32.06 kB / 1.252 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 2.565e-06/1.359, allocations: 0.6562 kB / 1.252 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.0009175/1.36, allocations: 365.5 kB / 1.253 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/1.36, allocations: 55.47 kB / 1.253 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004556/1.36, allocations: 420.3 kB / 1.253 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/1.36, allocations: 32.33 kB / 1.253 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/1.361, allocations: 262.8 kB / 1.253 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.93e-05/1.361, allocations: 87.7 kB / 1.254 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.766e-05/1.361, allocations: 56.69 kB / 1.254 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.451e-05/1.361, allocations: 353.7 kB / 1.254 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/1.361, allocations: 95.78 kB / 1.254 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/1.361, allocations: 162.5 kB / 1.254 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005098/1.362, allocations: 271 kB / 1.254 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.362, allocations: 0.9688 kB / 1.254 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006312/1.362, allocations: 354.6 kB / 1.255 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/1.363, allocations: 5.625 kB / 1.255 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/1.363, allocations: 2.922 kB / 1.255 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/1.363, allocations: 3.469 kB / 1.255 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002815/1.363, allocations: 61.03 kB / 1.255 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/1.363, allocations: 6.859 kB / 1.255 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/1.363, allocations: 37.33 kB / 1.255 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/1.363, allocations: 9.5 kB / 1.255 GB, free: 13.12 MB / 0.9981 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.0001404/1.363, allocations: 174.8 kB / 1.255 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.101e-05/1.363, allocations: 49.25 kB / 1.255 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.94e-05/1.363, allocations: 51.45 kB / 1.255 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/1.363, allocations: 2.812 kB / 1.255 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/1.363, allocations: 0.5625 kB / 1.255 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/1.363, allocations: 2.297 kB / 1.255 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004479/1.364, allocations: 439 kB / 1.256 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/1.364, allocations: 5.328 kB / 1.256 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/1.364, allocations: 44.09 kB / 1.256 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/1.364, allocations: 1.594 kB / 1.256 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/1.364, allocations: 11.48 kB / 1.256 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/1.364, allocations: 2.125 kB / 1.256 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/1.364, allocations: 0 / 1.256 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008604/1.365, allocations: 0.5037 MB / 1.256 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.993e-05/1.365, allocations: 143.5 kB / 1.256 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.337e-05/1.365, allocations: 6.016 kB / 1.256 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/1.365, allocations: 15.05 kB / 1.256 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/1.365, allocations: 11.75 kB / 1.256 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/1.365, allocations: 9.828 kB / 1.256 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003071/1.366, allocations: 291 kB / 1.257 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.366, allocations: 0 / 1.257 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003108/1.366, allocations: 68.72 kB / 1.257 GB, free: 12.02 MB / 0.9981 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.0009907/1.367, allocations: 1.049 MB / 1.258 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005633/1.368, allocations: 242.2 kB / 1.258 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.368, allocations: 2.156 kB / 1.258 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002574/1.368, allocations: 126.6 kB / 1.258 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006355/1.369, allocations: 122.6 kB / 1.258 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00491/1.374, allocations: 3.504 MB / 1.262 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004491/1.374, allocations: 0.8197 MB / 1.262 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000248/1.374, allocations: 51.08 kB / 1.262 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000222/1.374, allocations: 147.6 kB / 1.263 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of SimCode: time 5.92e-07/1.374, allocations: 0.9375 kB / 1.263 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0741/1.449, allocations: 8.035 MB / 1.27 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.303/10.75, allocations: 1.812 kB / 1.27 GB, free: 7.246 MB / 0.9981 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 400 --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