Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.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.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan",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.004964/0.004964, allocations: 96.2 kB / 15.73 MB, free: 6.039 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.001109/0.001109, allocations: 196.8 kB / 16.68 MB, free: 5.969 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.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.279/2.279, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 61.86 kB / 0.9505 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2192, allocations: 140.4 MB / 1.088 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.001913/0.2211, allocations: 0.8807 MB / 1.088 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.2225, allocations: 1.153 MB / 1.09 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.088e-05/0.2226, allocations: 4 kB / 1.09 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.21e-05/0.2227, allocations: 11.86 kB / 1.09 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.984e-05/0.2228, allocations: 11.88 kB / 1.09 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004873/0.2233, allocations: 139.6 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.2235, allocations: 167.6 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.2236, allocations: 49.56 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.2237, allocations: 63.81 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.2238, allocations: 59.75 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.2239, allocations: 16 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.308e-05/0.2239, allocations: 31.98 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.525e-05/0.224, allocations: 19.92 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.683e-05/0.2241, allocations: 67.7 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.2243, allocations: 163.6 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2243, allocations: 4 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2243, allocations: 0 / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.2243, allocations: 0 / 1.09 GB, free: 15.16 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005857/0.2249, allocations: 444.7 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.225, allocations: 12.03 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.684e-05/0.225, allocations: 42.73 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.993e-05/0.2251, allocations: 12.89 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004507/0.2255, allocations: 233.4 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.2255, allocations: 8.375 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.2256, allocations: 12.38 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.2258, allocations: 99.31 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.882e-06/0.2258, allocations: 0 / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.2258, allocations: 4 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.2258, allocations: 4 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002257/0.2261, allocations: 63.94 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004904/0.2266, allocations: 392.5 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.2268, allocations: 70.48 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.2269, allocations: 36.91 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.2269, allocations: 4 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002324/0.2271, allocations: 87.48 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 2.756e-06/0.2272, allocations: 0 / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0004328/0.2276, allocations: 145.4 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.2276, allocations: 55.39 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.606e-05/0.2277, allocations: 125.8 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.2278, allocations: 25.7 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/0.2278, allocations: 112 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.2279, allocations: 31.78 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.049e-05/0.2279, allocations: 37.7 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.501e-05/0.228, allocations: 318.8 kB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.2282, allocations: 47.97 kB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.2284, allocations: 71.39 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.2286, allocations: 129 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2287, allocations: 4 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004187/0.2291, allocations: 199.2 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.2291, allocations: 41.64 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.2291, allocations: 0 / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.2292, allocations: 4 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.2293, allocations: 15.98 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.2293, allocations: 3.938 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.2295, allocations: 35.92 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.2295, allocations: 11.98 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,fanStatus.y,$PRE.fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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 8.497e-05/0.2296, allocations: 122 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.2296, allocations: 15.83 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.927e-05/0.2297, allocations: 12.38 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.2297, allocations: 7.969 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2297, allocations: 0 / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2297, allocations: 0 / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.2298, allocations: 189.6 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.2298, allocations: 3.984 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.223e-05/0.2299, allocations: 16 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.2299, allocations: 3.938 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.23, allocations: 0 / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.23, allocations: 3.984 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.23, allocations: 4 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.2302, allocations: 136.9 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.983e-05/0.2303, allocations: 89 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.2303, allocations: 11.92 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.977e-05/0.2304, allocations: 4 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.2304, allocations: 11.98 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.2304, allocations: 0 / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.985e-05/0.2305, allocations: 97.8 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2305, allocations: 0 / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002352/0.2307, allocations: 31.95 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005462/0.2313, allocations: 0.6874 MB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003667/0.2317, allocations: 167.3 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2317, allocations: 192 / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.2318, allocations: 35.98 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.232, allocations: 17.41 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.2339, allocations: 1.633 MB / 1.096 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.2341, allocations: 0.7002 MB / 1.097 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.102e-05/0.2342, allocations: 8.438 kB / 1.097 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.387e-05/0.2343, allocations: 31.42 kB / 1.097 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of SimCode: time 3.6e-07/0.2343, allocations: 0 / 1.097 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.2507, allocations: 2.851 MB / 1.1 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.061/7.312, allocations: 8.438 kB / 1.1 GB, free: 5.051 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches