Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,fileNamePrefix="Buildings_10_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_10_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.001186/0.001187, 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.001193/0.001193, allocations: 194.6 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.234/1.234, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.34/2.34, allocations: 437.1 MB / 0.7104 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 71.84 kB / 0.8694 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5142/0.5154, allocations: 151.6 MB / 1.017 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002043/0.5174, allocations: 0.8765 MB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.5187, allocations: 1.163 MB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.174e-05/0.5188, allocations: 4 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.656e-05/0.5189, allocations: 7.875 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.09e-05/0.5189, allocations: 19.78 kB / 1.02 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004605/0.5194, allocations: 136.1 kB / 1.02 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.5196, allocations: 163.7 kB / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.5197, allocations: 49.55 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.534e-05/0.5198, allocations: 63.77 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.974e-05/0.5199, allocations: 59.84 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.5199, allocations: 12 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.721e-05/0.52, allocations: 35.89 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.049e-05/0.52, allocations: 15.92 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.088e-05/0.5201, allocations: 59.72 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.5203, allocations: 169.8 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.5203, allocations: 0 / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5203, allocations: 0 / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.5203, allocations: 0 / 1.02 GB, free: 15.69 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005356/0.5209, allocations: 448.8 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.5209, allocations: 12.03 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.609e-05/0.521, allocations: 38.75 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.521, allocations: 16.69 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004218/0.5214, allocations: 232.3 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.5215, allocations: 12.38 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.5215, allocations: 12.38 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.5217, allocations: 99.66 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.5217, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.5218, allocations: 4 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.5218, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002033/0.522, allocations: 63.89 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/0.5224, allocations: 400.4 kB / 1.022 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.5226, allocations: 70.47 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.5227, allocations: 36.97 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.5227, allocations: 4 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.5229, allocations: 83.34 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.5229, allocations: 0 / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004084/0.5234, allocations: 145.6 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.5234, allocations: 55.39 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.249e-05/0.5235, allocations: 131.6 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.5235, allocations: 29.7 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/0.5236, allocations: 103.9 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.5236, allocations: 31.62 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.533e-05/0.5237, allocations: 37.7 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.257e-05/0.5238, allocations: 322.8 kB / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.5239, allocations: 43.97 kB / 1.023 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.5241, allocations: 75.39 kB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/0.5243, allocations: 133 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.5244, allocations: 0 / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003863/0.5247, allocations: 199.1 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.5248, allocations: 33.64 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.5248, allocations: 7.938 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.5248, allocations: 4.094 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.5249, allocations: 19.98 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.5249, allocations: 3.938 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.5251, allocations: 35.95 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.5252, allocations: 8 kB / 1.023 GB, free: 12.52 MB / 0.7794 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.39e-05/0.5252, allocations: 121.8 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.766e-05/0.5253, allocations: 15.84 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.5253, allocations: 12.36 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.5253, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.5253, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.5253, allocations: 4 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.5255, allocations: 201.5 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5255, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.66e-05/0.5256, allocations: 11.98 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.5256, allocations: 3.938 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.5256, allocations: 4 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.5256, allocations: 4 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5256, allocations: 3.938 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.5258, allocations: 121.1 kB / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.5259, allocations: 93 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.5259, allocations: 3.938 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.529e-05/0.526, allocations: 4 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.526, allocations: 11.98 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.526, allocations: 4 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.112e-05/0.5261, allocations: 99.27 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5261, allocations: 0 / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002163/0.5263, allocations: 31.91 kB / 1.024 GB, free: 11.68 MB / 0.7794 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.0004963/0.5268, allocations: 0.6747 MB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000344/0.5272, allocations: 175.3 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5272, allocations: 0 / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.5273, allocations: 35.97 kB / 1.025 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.5275, allocations: 29.06 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.5293, allocations: 1.623 MB / 1.026 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/0.5295, allocations: 0.7002 MB / 1.027 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.379e-05/0.5296, allocations: 12.42 kB / 1.027 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.848e-05/0.5296, allocations: 32.69 kB / 1.027 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.5296, allocations: 0 / 1.027 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01812/0.5477, allocations: 2.826 MB / 1.03 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.617/7.165, allocations: 17.89 kB / 1.03 GB, free: 5.57 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches