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.006152/0.006152, allocations: 100.8 kB / 15.73 MB, free: 6.035 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.001187/0.001187, allocations: 198.4 kB / 16.68 MB, free: 5.953 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.234/2.234, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 59.91 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8352/0.8364, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.00402/0.8405, allocations: 3.105 MB / 1.09 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001953/0.8425, allocations: 1.088 MB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002834/0.8428, allocations: 24.47 kB / 1.092 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002694/0.843, allocations: 92.91 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002181/0.8433, allocations: 97.97 kB / 1.092 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007112/0.844, allocations: 337.5 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006464/0.8447, allocations: 0.6462 MB / 1.093 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000392/0.8451, allocations: 256.1 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002619/0.8453, allocations: 219.2 kB / 1.093 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.8456, allocations: 210.3 kB / 1.093 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.452e-05/0.8457, allocations: 53.19 kB / 1.093 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.647e-05/0.8458, allocations: 52.38 kB / 1.093 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.908e-05/0.8459, allocations: 112.1 kB / 1.094 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.846, allocations: 245 kB / 1.094 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000788/0.8468, allocations: 0.6877 MB / 1.094 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.8468, allocations: 0 / 1.094 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.365e-06/0.8468, allocations: 0.625 kB / 1.094 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.8469, allocations: 3.938 kB / 1.094 GB, free: 0.625 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.001294/0.8482, allocations: 0.8132 MB / 1.095 GB, free: 16 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.8482, allocations: 9.875 kB / 1.095 GB, free: 16 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.428e-05/0.8483, allocations: 67.61 kB / 1.095 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.993e-05/0.8484, allocations: 60.22 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009545/0.8494, allocations: 0.5102 MB / 1.096 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.8494, allocations: 28.69 kB / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.231e-05/0.8495, allocations: 28.52 kB / 1.096 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000722/0.8502, allocations: 370.4 kB / 1.096 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.8502, allocations: 1.375 kB / 1.096 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/0.8503, allocations: 19.69 kB / 1.096 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.8503, allocations: 6.969 kB / 1.096 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000659/0.851, allocations: 249.1 kB / 1.097 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.8527, allocations: 1.429 MB / 1.098 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007706/0.8535, allocations: 268.7 kB / 1.098 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/0.8539, allocations: 133.3 kB / 1.098 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.8539, allocations: 2.953 kB / 1.098 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.8539, allocations: 36.28 kB / 1.098 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=23): time 1.553e-06/0.8539, allocations: 0.75 kB / 1.098 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23): time 0.0009565/0.8549, allocations: 367.5 kB / 1.099 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.8549, allocations: 54.2 kB / 1.099 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005061/0.8555, allocations: 413.6 kB / 1.099 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.8555, allocations: 30.45 kB / 1.099 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.8557, allocations: 263.8 kB / 1.099 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.513e-05/0.8558, allocations: 79.17 kB / 1.1 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.707e-05/0.8559, allocations: 54.83 kB / 1.1 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.856, allocations: 354.7 kB / 1.1 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/0.8563, allocations: 94.67 kB / 1.1 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000326/0.8566, allocations: 160.9 kB / 1.1 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005892/0.8572, allocations: 274.1 kB / 1.1 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.8572, allocations: 5.453 kB / 1.1 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007294/0.858, allocations: 338.1 kB / 1.101 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.858, allocations: 6.344 kB / 1.101 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.858, allocations: 7.312 kB / 1.101 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.858, allocations: 6.594 kB / 1.101 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.8583, allocations: 65.75 kB / 1.101 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.8584, allocations: 7.953 kB / 1.101 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.8586, allocations: 35.7 kB / 1.101 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.8586, allocations: 12.92 kB / 1.101 GB, free: 12.28 MB / 0.8731 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.0001908/0.8588, allocations: 170.6 kB / 1.101 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.282e-05/0.8589, allocations: 43.75 kB / 1.101 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.859, allocations: 50.28 kB / 1.101 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.859, allocations: 3.281 kB / 1.101 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.859, allocations: 0.6562 kB / 1.101 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.859, allocations: 5.203 kB / 1.101 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005751/0.8596, allocations: 434.7 kB / 1.102 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.8596, allocations: 4 kB / 1.102 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002703/0.8599, allocations: 44.95 kB / 1.102 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.8599, allocations: 0.7188 kB / 1.102 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/0.86, allocations: 6.984 kB / 1.102 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.86, allocations: 13.58 kB / 1.102 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.86, allocations: 1.125 kB / 1.102 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009741/0.861, allocations: 0.4946 MB / 1.102 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.8611, allocations: 142.2 kB / 1.102 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.535e-05/0.8612, allocations: 5.859 kB / 1.102 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.8614, allocations: 10.95 kB / 1.102 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.8614, allocations: 24.53 kB / 1.102 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.8614, allocations: 4.922 kB / 1.102 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003417/0.8618, allocations: 291.5 kB / 1.103 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8618, allocations: 0 / 1.103 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003412/0.8621, allocations: 65.31 kB / 1.103 GB, free: 11.15 MB / 0.8731 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.001267/0.8634, allocations: 1.042 MB / 1.104 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007372/0.8642, allocations: 241.4 kB / 1.104 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.8642, allocations: 0 / 1.104 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.8645, allocations: 126.5 kB / 1.104 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007386/0.8652, allocations: 131.3 kB / 1.104 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004818/0.8701, allocations: 3.487 MB / 1.108 GB, free: 7.988 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.8705, allocations: 0.8234 MB / 1.108 GB, free: 7.277 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002363/0.8707, allocations: 47.25 kB / 1.108 GB, free: 7.27 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.8709, allocations: 157.4 kB / 1.109 GB, free: 7.152 MB / 0.8731 GB Notification: Performance of SimCode: time 4.41e-07/0.871, allocations: 0 / 1.109 GB, free: 7.152 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02832/0.8993, allocations: 8.022 MB / 1.116 GB, free: 6.301 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.232/9.131, allocations: 10.25 kB / 1.116 GB, free: 6.293 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