Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00165/0.00165, 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.001967/0.001967, allocations: 195.2 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.403/1.403, 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 10.1.1-maint.10.0.x/package.mo): time 2.641/2.641, allocations: 437 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 67.91 kB / 0.8694 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8215/0.823, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005293/0.8284, allocations: 3.115 MB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002356/0.8307, allocations: 1.103 MB / 1.022 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002996/0.8311, allocations: 15.94 kB / 1.022 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.8313, allocations: 87.06 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002378/0.8316, allocations: 107 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006758/0.8323, allocations: 331.3 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005946/0.8329, allocations: 0.6363 MB / 1.023 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000379/0.8333, allocations: 256.1 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002554/0.8335, allocations: 222.9 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/0.8338, allocations: 210.8 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.524e-05/0.8339, allocations: 52 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.585e-05/0.8339, allocations: 52 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.834, allocations: 103.6 kB / 1.024 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001931/0.8342, allocations: 246.6 kB / 1.024 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000573/0.8348, allocations: 0.6657 MB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.8348, allocations: 4 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8348, allocations: 0 / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.8349, allocations: 0 / 1.024 GB, free: 11.3 MB / 0.7794 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.00125/0.8361, allocations: 0.8098 MB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.8362, allocations: 12.03 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.369e-05/0.8363, allocations: 70.66 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.93e-05/0.8364, allocations: 56.28 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007683/0.8371, allocations: 0.4983 MB / 1.026 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.8372, allocations: 25.03 kB / 1.026 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.631e-05/0.8372, allocations: 24.38 kB / 1.026 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006086/0.8378, allocations: 371 kB / 1.026 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.8379, allocations: 0 / 1.026 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/0.8379, allocations: 20 kB / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.8379, allocations: 8 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005833/0.8385, allocations: 254 kB / 1.027 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.8401, allocations: 1.429 MB / 1.028 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006776/0.8408, allocations: 270.8 kB / 1.028 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002836/0.8411, allocations: 136.8 kB / 1.028 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.8411, allocations: 7.984 kB / 1.028 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.8411, allocations: 38.5 kB / 1.028 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=23): time 1.423e-06/0.8412, allocations: 3.938 kB / 1.028 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.0008728/0.842, allocations: 366.9 kB / 1.029 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.8421, allocations: 51.41 kB / 1.029 GB, free: 6.641 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004455/0.8425, allocations: 417.8 kB / 1.029 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.8426, allocations: 33.7 kB / 1.029 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.8428, allocations: 260 kB / 1.029 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.996e-05/0.8428, allocations: 78.91 kB / 1.029 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.76e-05/0.8429, allocations: 57.89 kB / 1.03 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.8431, allocations: 354.8 kB / 1.03 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/0.8433, allocations: 92.52 kB / 1.03 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002891/0.8436, allocations: 180.6 kB / 1.03 GB, free: 5.133 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005175/0.8442, allocations: 270.8 kB / 1.03 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.8442, allocations: 0 / 1.03 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006397/0.8448, allocations: 332.9 kB / 1.031 GB, free: 4.512 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.8448, allocations: 8 kB / 1.031 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.8449, allocations: 3.984 kB / 1.031 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.8449, allocations: 4 kB / 1.031 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/0.8452, allocations: 64.16 kB / 1.031 GB, free: 4.434 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.8452, allocations: 4 kB / 1.031 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.8454, allocations: 35.61 kB / 1.031 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.8454, allocations: 19.98 kB / 1.031 GB, free: 4.375 MB / 0.7794 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.0001736/0.8456, allocations: 169.8 kB / 1.031 GB, free: 4.199 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.52e-05/0.8457, allocations: 43.44 kB / 1.031 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.168e-05/0.8458, allocations: 51.97 kB / 1.031 GB, free: 4.109 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.8458, allocations: 4 kB / 1.031 GB, free: 4.105 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.8458, allocations: 0 / 1.031 GB, free: 4.105 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.8458, allocations: 7.938 kB / 1.031 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004661/0.8463, allocations: 433.2 kB / 1.032 GB, free: 3.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8463, allocations: 4 kB / 1.032 GB, free: 3.621 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.8465, allocations: 47.89 kB / 1.032 GB, free: 3.574 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.8466, allocations: 4 kB / 1.032 GB, free: 3.57 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.8466, allocations: 4 kB / 1.032 GB, free: 3.566 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.8466, allocations: 0 / 1.032 GB, free: 3.566 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.8466, allocations: 0 / 1.032 GB, free: 3.566 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009012/0.8475, allocations: 0.5029 MB / 1.032 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.8477, allocations: 144.5 kB / 1.032 GB, free: 2.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.55e-05/0.8477, allocations: 7.938 kB / 1.032 GB, free: 2.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.8479, allocations: 20.05 kB / 1.032 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.376e-05/0.848, allocations: 11.92 kB / 1.032 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.848, allocations: 11.98 kB / 1.032 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003076/0.8483, allocations: 291.1 kB / 1.033 GB, free: 2.559 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8483, allocations: 0 / 1.033 GB, free: 2.559 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003161/0.8486, allocations: 67.75 kB / 1.033 GB, free: 2.492 MB / 0.7794 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.001175/0.8498, allocations: 1.038 MB / 1.034 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006277/0.8505, allocations: 247.8 kB / 1.034 GB, free: 1.184 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.8505, allocations: 0 / 1.034 GB, free: 1.184 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002622/0.8507, allocations: 128.6 kB / 1.034 GB, free: 1.059 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00075/0.8515, allocations: 144.3 kB / 1.034 GB, free: 0.9297 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004719/0.8562, allocations: 3.549 MB / 1.038 GB, free: 13.24 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/0.8567, allocations: 0.8194 MB / 1.038 GB, free: 12.4 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002243/0.8569, allocations: 51.25 kB / 1.038 GB, free: 12.35 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/0.8571, allocations: 147.4 kB / 1.039 GB, free: 12.21 MB / 0.795 GB Notification: Performance of SimCode: time 9.72e-07/0.8571, allocations: 0 / 1.039 GB, free: 12.21 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03683/0.894, allocations: 7.878 MB / 1.046 GB, free: 4.52 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.904/8.799, allocations: 11.17 kB / 1.046 GB, free: 4.512 MB / 0.795 GB (rm -f Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches