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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00136/0.001359, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 197 kB / 16.53 MB, free: 6.664 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.615/1.615, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 8.518/8.518, allocations: 461.9 MB / 0.7346 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 67.08 kB / 0.8992 GB, free: 36.87 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5175/0.5189, allocations: 157.4 MB / 1.053 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.01204/0.531, allocations: 3.114 MB / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003139/0.5342, allocations: 1.106 MB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008409/0.535, allocations: 19.88 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.008078/0.5431, allocations: 95.06 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0007467/0.544, allocations: 103 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.5452, allocations: 330 kB / 1.058 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001238/0.5465, allocations: 0.6403 MB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006062/0.5471, allocations: 246.2 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005314/0.5476, allocations: 219 kB / 1.059 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008601/0.5562, allocations: 210.8 kB / 1.059 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001733/0.5564, allocations: 56 kB / 1.059 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.5566, allocations: 52 kB / 1.059 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.5567, allocations: 115.5 kB / 1.059 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003071/0.557, allocations: 238.6 kB / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0009529/0.558, allocations: 0.6618 MB / 1.06 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.558, allocations: 0 / 1.06 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.256e-06/0.558, allocations: 0 / 1.06 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.257e-05/0.558, allocations: 0 / 1.06 GB, free: 1.055 MB / 0.8106 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.00207/0.5601, allocations: 0.8215 MB / 1.061 GB, free: 188 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.962e-05/0.5602, allocations: 12.62 kB / 1.061 GB, free: 176 kB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/0.5603, allocations: 62.73 kB / 1.061 GB, free: 104 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.5605, allocations: 56.28 kB / 1.061 GB, free: 48 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.5616, allocations: 0.5098 MB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.688e-05/0.5617, allocations: 25.03 kB / 1.061 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.6e-05/0.5618, allocations: 28.38 kB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007912/0.5626, allocations: 378.9 kB / 1.062 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.5626, allocations: 0 / 1.062 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.964e-05/0.5626, allocations: 12 kB / 1.062 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.5627, allocations: 8 kB / 1.062 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006766/0.5633, allocations: 250.1 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01103/0.5744, allocations: 1.436 MB / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007071/0.5751, allocations: 263.9 kB / 1.064 GB, free: 13 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/0.5754, allocations: 142.5 kB / 1.064 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.035e-05/0.5755, allocations: 11.97 kB / 1.064 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.191e-05/0.5755, allocations: 34.56 kB / 1.064 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=23): time 2.615e-06/0.5756, allocations: 3.938 kB / 1.064 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.0009444/0.5765, allocations: 353 kB / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.5766, allocations: 55.39 kB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004664/0.577, allocations: 421.8 kB / 1.065 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.5771, allocations: 29.7 kB / 1.065 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.5773, allocations: 260.1 kB / 1.065 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.445e-05/0.5773, allocations: 78.84 kB / 1.065 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.782e-05/0.5774, allocations: 57.89 kB / 1.065 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.5776, allocations: 350.8 kB / 1.065 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/0.5779, allocations: 100.5 kB / 1.065 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008067/0.5859, allocations: 164.7 kB / 1.066 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005862/0.5865, allocations: 268.8 kB / 1.066 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.5866, allocations: 0 / 1.066 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007322/0.5873, allocations: 344.7 kB / 1.066 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.5873, allocations: 11.94 kB / 1.066 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.5873, allocations: 0 / 1.066 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.5874, allocations: 4 kB / 1.066 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.5877, allocations: 67.89 kB / 1.066 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.5877, allocations: 4 kB / 1.066 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.5879, allocations: 31.77 kB / 1.066 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.5879, allocations: 8 kB / 1.066 GB, free: 10.14 MB / 0.8262 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.0002576/0.5882, allocations: 173.8 kB / 1.067 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.629e-05/0.5883, allocations: 43.44 kB / 1.067 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.5884, allocations: 47.97 kB / 1.067 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.5884, allocations: 4 kB / 1.067 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.547e-06/0.5884, allocations: 0 / 1.067 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.5884, allocations: 3.938 kB / 1.067 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005568/0.589, allocations: 441.2 kB / 1.067 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.589, allocations: 0 / 1.067 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002653/0.5893, allocations: 51.91 kB / 1.067 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.5893, allocations: 0 / 1.067 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.5893, allocations: 7.984 kB / 1.067 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.87e-06/0.5893, allocations: 7.938 kB / 1.067 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5893, allocations: 0 / 1.067 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.5904, allocations: 0.5013 MB / 1.068 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/0.5905, allocations: 140.5 kB / 1.068 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.952e-05/0.5906, allocations: 4 kB / 1.068 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.5908, allocations: 19.92 kB / 1.068 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.996e-05/0.5909, allocations: 19.91 kB / 1.068 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.5909, allocations: 12 kB / 1.068 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.008066/0.599, allocations: 287.1 kB / 1.068 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.91e-07/0.599, allocations: 4.062 kB / 1.068 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003764/0.5994, allocations: 67.78 kB / 1.068 GB, free: 8.238 MB / 0.8262 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.001382/0.6008, allocations: 1.038 MB / 1.069 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006747/0.6015, allocations: 252.2 kB / 1.069 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.6015, allocations: 4 kB / 1.069 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002755/0.6018, allocations: 115.8 kB / 1.069 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007989/0.6026, allocations: 129.4 kB / 1.07 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01464/0.6172, allocations: 3.542 MB / 1.073 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006036/0.6178, allocations: 0.8271 MB / 1.074 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002603/0.6181, allocations: 55.25 kB / 1.074 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/0.6184, allocations: 147.4 kB / 1.074 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of SimCode: time 1.173e-06/0.6184, allocations: 0 / 1.074 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1973/0.8157, allocations: 7.89 MB / 1.082 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.642/10.46, allocations: 12.17 kB / 1.082 GB, free: 10.28 MB / 0.8419 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat --tempDir=temp_Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)