Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008403/0.008403, allocations: 100.2 kB / 15.73 MB, free: 6.047 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.001945/0.001945, allocations: 195.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.708/1.708, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.033/3.033, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 64.09 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7721/0.7737, allocations: 159.1 MB / 1.22 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004296/0.7781, allocations: 3.123 MB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001831/0.7799, allocations: 1.091 MB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002097/0.7801, allocations: 15.94 kB / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002109/0.7804, allocations: 91.06 kB / 1.224 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.7806, allocations: 111 kB / 1.224 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006307/0.7812, allocations: 335.2 kB / 1.225 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006038/0.7818, allocations: 0.6286 MB / 1.225 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003331/0.7822, allocations: 253.9 kB / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000269/0.7825, allocations: 227 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.7827, allocations: 206.8 kB / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.053e-05/0.7828, allocations: 52 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.924e-05/0.7829, allocations: 56 kB / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.783, allocations: 111.5 kB / 1.226 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.7832, allocations: 238.6 kB / 1.226 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006753/0.7839, allocations: 0.6882 MB / 1.227 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.7839, allocations: 0 / 1.227 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7839, allocations: 0 / 1.227 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.7839, allocations: 0 / 1.227 GB, free: 10.96 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.001285/0.7852, allocations: 0.8406 MB / 1.228 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.7852, allocations: 8.031 kB / 1.228 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.412e-05/0.7853, allocations: 62.73 kB / 1.228 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.369e-05/0.7854, allocations: 60.52 kB / 1.228 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008661/0.7863, allocations: 0.5221 MB / 1.229 GB, free: 9.375 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.7863, allocations: 21.03 kB / 1.229 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.52e-05/0.7864, allocations: 32.38 kB / 1.229 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006726/0.7871, allocations: 374.9 kB / 1.229 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.7871, allocations: 0 / 1.229 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.619e-05/0.7871, allocations: 16 kB / 1.229 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.7872, allocations: 12 kB / 1.229 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006013/0.7878, allocations: 250 kB / 1.229 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.7894, allocations: 1.421 MB / 1.231 GB, free: 7.156 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007153/0.7902, allocations: 281.4 kB / 1.231 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002962/0.7905, allocations: 138.7 kB / 1.231 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.343e-05/0.7905, allocations: 0 / 1.231 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.7906, allocations: 38.56 kB / 1.231 GB, free: 6.691 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=23): time 1.012e-06/0.7906, allocations: 0 / 1.231 GB, free: 6.691 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23): time 0.0009196/0.7915, allocations: 365 kB / 1.231 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.7915, allocations: 59.41 kB / 1.232 GB, free: 6.258 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004607/0.792, allocations: 413.8 kB / 1.232 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.792, allocations: 29.7 kB / 1.232 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002114/0.7923, allocations: 260.5 kB / 1.232 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.967e-05/0.7923, allocations: 87.25 kB / 1.232 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.969e-05/0.7924, allocations: 61.92 kB / 1.232 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.7926, allocations: 354.8 kB / 1.233 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.7929, allocations: 96.5 kB / 1.233 GB, free: 4.949 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/0.7932, allocations: 164.7 kB / 1.233 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005577/0.7937, allocations: 277.3 kB / 1.233 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.7938, allocations: 0 / 1.233 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00068/0.7944, allocations: 346.6 kB / 1.234 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.7945, allocations: 4 kB / 1.234 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.7945, allocations: 4 kB / 1.234 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.7945, allocations: 4 kB / 1.234 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/0.7948, allocations: 60.14 kB / 1.234 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.7948, allocations: 8 kB / 1.234 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.795, allocations: 35.77 kB / 1.234 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.795, allocations: 12 kB / 1.234 GB, free: 3.996 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.0001998/0.7953, allocations: 174.5 kB / 1.234 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.469e-05/0.7953, allocations: 43.72 kB / 1.234 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.83e-05/0.7954, allocations: 47.97 kB / 1.234 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.7954, allocations: 4 kB / 1.234 GB, free: 3.719 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.7954, allocations: 4 kB / 1.234 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.7955, allocations: 3.938 kB / 1.234 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004773/0.7959, allocations: 433.2 kB / 1.234 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.7959, allocations: 0 / 1.234 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/0.7962, allocations: 51.91 kB / 1.234 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.7962, allocations: 3.938 kB / 1.234 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.7963, allocations: 11.98 kB / 1.234 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.7963, allocations: 3.938 kB / 1.234 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.7963, allocations: 0 / 1.234 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009272/0.7972, allocations: 0.4929 MB / 1.235 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.7973, allocations: 140.8 kB / 1.235 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.36e-05/0.7974, allocations: 8 kB / 1.235 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.7976, allocations: 12.05 kB / 1.235 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.966e-05/0.7976, allocations: 23.91 kB / 1.235 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.7977, allocations: 4 kB / 1.235 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003094/0.798, allocations: 295.1 kB / 1.235 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.798, allocations: 0 / 1.235 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003136/0.7983, allocations: 75.78 kB / 1.235 GB, free: 2.094 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.001212/0.7995, allocations: 1.039 MB / 1.236 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005806/0.8001, allocations: 246.7 kB / 1.237 GB, free: 0.793 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.8001, allocations: 0 / 1.237 GB, free: 0.793 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.8004, allocations: 111.9 kB / 1.237 GB, free: 0.6836 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006526/0.801, allocations: 144.1 kB / 1.237 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004693/0.8058, allocations: 3.512 MB / 1.24 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/0.8062, allocations: 0.8194 MB / 1.241 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001826/0.8064, allocations: 51.25 kB / 1.241 GB, free: 12 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.8066, allocations: 147.4 kB / 1.241 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.8066, allocations: 0 / 1.241 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3386/1.145, allocations: 8.025 MB / 1.249 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.283/9.428, allocations: 6.25 kB / 1.249 GB, free: 4.043 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches