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.008148/0.008148, allocations: 98.16 kB / 15.73 MB, free: 6.008 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.001627/0.001627, allocations: 196.3 kB / 16.67 MB, free: 5.926 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.562/1.562, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.174/3.174, allocations: 472.7 MB / 0.7453 GB, free: 484 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 71.89 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.309/1.311, allocations: 159.9 MB / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.007777/1.318, allocations: 3.121 MB / 1.228 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008722/1.327, allocations: 1.083 MB / 1.229 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007476/1.328, allocations: 19.88 kB / 1.229 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000529/1.328, allocations: 91.12 kB / 1.229 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0006899/1.329, allocations: 111 kB / 1.229 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001176/1.33, allocations: 341 kB / 1.23 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00127/1.332, allocations: 0.6402 MB / 1.23 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006647/1.332, allocations: 253.9 kB / 1.231 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005486/1.333, allocations: 235 kB / 1.231 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007462/1.34, allocations: 202.8 kB / 1.231 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002215/1.341, allocations: 52 kB / 1.231 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/1.341, allocations: 55.94 kB / 1.231 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001365/1.341, allocations: 111.6 kB / 1.231 GB, free: 7.16 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003412/1.341, allocations: 238.6 kB / 1.232 GB, free: 6.926 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001151/1.343, allocations: 0.6882 MB / 1.232 GB, free: 6.238 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.277e-05/1.343, allocations: 4 kB / 1.232 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.589e-06/1.343, allocations: 0 / 1.232 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.633e-05/1.343, allocations: 4 kB / 1.232 GB, free: 6.23 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.002886/1.346, allocations: 0.8393 MB / 1.233 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 7.438e-05/1.346, allocations: 8.031 kB / 1.233 GB, free: 5.336 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002136/1.346, allocations: 66.72 kB / 1.233 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002363/1.346, allocations: 64.52 kB / 1.233 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009906/1.356, allocations: 0.5143 MB / 1.234 GB, free: 4.648 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-05/1.356, allocations: 21.03 kB / 1.234 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000196/1.356, allocations: 32.38 kB / 1.234 GB, free: 4.598 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/1.357, allocations: 370.9 kB / 1.234 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/1.358, allocations: 3.938 kB / 1.234 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.838e-05/1.358, allocations: 12 kB / 1.234 GB, free: 4.184 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/1.358, allocations: 8 kB / 1.234 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007995/1.358, allocations: 262 kB / 1.234 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0111/1.37, allocations: 1.425 MB / 1.236 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009011/1.371, allocations: 266.9 kB / 1.236 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000337/1.371, allocations: 138.8 kB / 1.236 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.722e-05/1.371, allocations: 0 / 1.236 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.95e-05/1.371, allocations: 42.56 kB / 1.236 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=23): time 2.615e-06/1.371, allocations: 0 / 1.236 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23): time 0.001086/1.372, allocations: 358.5 kB / 1.237 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/1.372, allocations: 59.34 kB / 1.237 GB, free: 1.539 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005897/1.373, allocations: 425.8 kB / 1.237 GB, free: 1.117 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/1.373, allocations: 29.7 kB / 1.237 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/1.373, allocations: 260.5 kB / 1.237 GB, free: 0.8242 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.457e-05/1.373, allocations: 87.25 kB / 1.237 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/1.373, allocations: 53.94 kB / 1.237 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001713/1.374, allocations: 358.8 kB / 1.238 GB, free: 324 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/1.374, allocations: 96.52 kB / 1.238 GB, free: 228 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000293/1.374, allocations: 161.3 kB / 1.238 GB, free: 40 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005871/1.375, allocations: 281.4 kB / 1.238 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.375, allocations: 0 / 1.238 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007903/1.375, allocations: 344.5 kB / 1.239 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/1.376, allocations: 8 kB / 1.239 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/1.376, allocations: 0 / 1.239 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.886e-05/1.376, allocations: 4 kB / 1.239 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/1.376, allocations: 59.91 kB / 1.239 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.947e-05/1.376, allocations: 7.922 kB / 1.239 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00029/1.376, allocations: 31.78 kB / 1.239 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/1.376, allocations: 15.98 kB / 1.239 GB, free: 15.27 MB / 0.9669 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.0002569/1.376, allocations: 177.8 kB / 1.239 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/1.377, allocations: 47.72 kB / 1.239 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/1.377, allocations: 47.97 kB / 1.239 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/1.377, allocations: 0 / 1.239 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/1.377, allocations: 7.875 kB / 1.239 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/1.377, allocations: 7.938 kB / 1.239 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006428/1.377, allocations: 429.2 kB / 1.239 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/1.377, allocations: 0 / 1.239 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007288/1.385, allocations: 55.95 kB / 1.239 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.849e-06/1.385, allocations: 0 / 1.239 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.556e-05/1.385, allocations: 4 kB / 1.239 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/1.385, allocations: 0 / 1.239 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.385, allocations: 0 / 1.239 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/1.386, allocations: 0.505 MB / 1.24 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002601/1.386, allocations: 144.8 kB / 1.24 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.056e-05/1.386, allocations: 0 / 1.24 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/1.387, allocations: 15.98 kB / 1.24 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.881e-05/1.387, allocations: 19.91 kB / 1.24 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/1.387, allocations: 7.984 kB / 1.24 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004323/1.387, allocations: 291.1 kB / 1.24 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/1.387, allocations: 4.062 kB / 1.24 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004244/1.388, allocations: 71.78 kB / 1.24 GB, free: 13.37 MB / 0.9669 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.002066/1.39, allocations: 1.044 MB / 1.241 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006888/1.39, allocations: 237.2 kB / 1.242 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/1.39, allocations: 4 kB / 1.242 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002803/1.391, allocations: 119.8 kB / 1.242 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006489/1.397, allocations: 132.2 kB / 1.242 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006286/1.403, allocations: 3.505 MB / 1.245 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005456/1.404, allocations: 0.8233 MB / 1.246 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000281/1.404, allocations: 55.23 kB / 1.246 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/1.405, allocations: 150 kB / 1.246 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of SimCode: time 1.493e-06/1.405, allocations: 0 / 1.246 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.203/10.61, allocations: 8.014 MB / 1.254 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.76/32.37, allocations: 17.67 kB / 1.254 GB, free: 15.34 MB / 0.9825 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