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.001195/0.001196, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001154/0.001154, allocations: 195 kB / 16.25 MB, free: 6.625 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.184/1.184, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.214/2.214, allocations: 437 MB / 0.7101 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 71.89 kB / 0.8689 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5166/0.5178, allocations: 151.6 MB / 1.017 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.001986/0.5199, allocations: 0.9374 MB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.5212, allocations: 1.163 MB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.808e-05/0.5212, allocations: 0 / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.288e-05/0.5213, allocations: 7.922 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.679e-05/0.5214, allocations: 15.86 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004554/0.5219, allocations: 127.5 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.522, allocations: 159.7 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.5222, allocations: 45.55 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.5223, allocations: 67.83 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.964e-05/0.5224, allocations: 59.75 kB / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.5224, allocations: 12 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.189e-05/0.5225, allocations: 31.98 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.314e-05/0.5225, allocations: 11.94 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.965e-05/0.5226, allocations: 67.75 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.5228, allocations: 169.7 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.5228, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5228, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.5228, allocations: 0 / 1.02 GB, free: 15.82 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.0005726/0.5234, allocations: 452.8 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.5234, allocations: 8.031 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.281e-05/0.5235, allocations: 38.75 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/0.5235, allocations: 16.73 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/0.5239, allocations: 228.3 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.524, allocations: 8.375 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.524, allocations: 20.38 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.5242, allocations: 99.08 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.5242, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.5242, allocations: 4 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.5243, allocations: 4 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.5244, allocations: 59.95 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.5249, allocations: 404.3 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.5251, allocations: 66.53 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.661e-05/0.5252, allocations: 36.97 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.5252, allocations: 4 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002037/0.5254, allocations: 83.3 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.442e-06/0.5254, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0003866/0.5258, allocations: 145.5 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.5259, allocations: 51.41 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.015e-05/0.526, allocations: 131.9 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.526, allocations: 29.7 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/0.5261, allocations: 107.9 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.5261, allocations: 27.59 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.037e-05/0.5262, allocations: 37.7 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.323e-05/0.5263, allocations: 322.8 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.5264, allocations: 51.91 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.5266, allocations: 75.33 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.5268, allocations: 133 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.5268, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000367/0.5272, allocations: 199.1 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.5272, allocations: 37.64 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5272, allocations: 4 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.5272, allocations: 8.031 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.561e-05/0.5273, allocations: 15.98 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.5274, allocations: 0 / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.5275, allocations: 31.95 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.5276, allocations: 8 kB / 1.023 GB, free: 12.65 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 9.066e-05/0.5277, allocations: 129.8 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.5277, allocations: 11.84 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.267e-05/0.5277, allocations: 16.36 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.5277, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.5277, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.5277, allocations: 4 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.5279, allocations: 201.5 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5279, allocations: 0 / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.999e-05/0.528, allocations: 11.98 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.528, allocations: 3.938 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.528, allocations: 8 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.528, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.528, allocations: 4.094 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.5283, allocations: 129 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.351e-05/0.5283, allocations: 85.02 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.5283, allocations: 7.875 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.305e-05/0.5284, allocations: 11.98 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.5284, allocations: 12 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.5284, allocations: 4 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.138e-05/0.5285, allocations: 95.27 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5285, allocations: 0 / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002083/0.5287, allocations: 27.91 kB / 1.023 GB, free: 11.8 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.000498/0.5292, allocations: 0.6791 MB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003298/0.5295, allocations: 175.3 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5296, allocations: 0 / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.5297, allocations: 43.91 kB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.5299, allocations: 22.47 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.5316, allocations: 1.653 MB / 1.026 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/0.5318, allocations: 0.7041 MB / 1.027 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.361e-05/0.5319, allocations: 8.422 kB / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.5319, allocations: 27.42 kB / 1.027 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.5319, allocations: 0 / 1.027 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.483/5.015, allocations: 2.694 MB / 1.029 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/5.015, allocations: 243.9 kB / 1.029 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.513/6.528, allocations: 4 kB / 1.029 GB, free: 5.594 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.mat","/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