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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001199/0.001199, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001218/0.001218, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.182/1.182, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.259/2.259, allocations: 437 MB / 0.71 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 59.91 kB / 0.8687 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.496/0.4972, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.001899/0.4991, allocations: 0.9335 MB / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.5003, allocations: 1.179 MB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.828e-05/0.5004, allocations: 4 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.597e-05/0.5004, allocations: 3.938 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.783e-05/0.5005, allocations: 19.84 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003632/0.5009, allocations: 121 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.501, allocations: 139.7 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.5011, allocations: 45.56 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.717e-05/0.5012, allocations: 55.83 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.656e-05/0.5013, allocations: 55.75 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.5013, allocations: 8 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.356e-05/0.5014, allocations: 19.98 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.212e-05/0.5014, allocations: 23.86 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.429e-05/0.5015, allocations: 55.7 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.5017, allocations: 157.8 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.5017, allocations: 0 / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.12e-07/0.5017, allocations: 8 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.5017, allocations: 0 / 1.02 GB, free: 15.93 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.0005292/0.5022, allocations: 444.8 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.5023, allocations: 12.03 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.331e-05/0.5023, allocations: 42.73 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/0.5024, allocations: 16.75 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004157/0.5028, allocations: 241.1 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.5028, allocations: 8.375 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.5028, allocations: 8.375 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.503, allocations: 97.77 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.5031, allocations: 0 / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.5031, allocations: 4 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.5031, allocations: 0 / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.5033, allocations: 67.95 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.5037, allocations: 396.3 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.5039, allocations: 66.55 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.504, allocations: 44.83 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.504, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/0.5042, allocations: 79.38 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.5042, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0003827/0.5046, allocations: 141.5 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.5047, allocations: 59.34 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.706e-05/0.5048, allocations: 132.5 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.5048, allocations: 25.7 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.142e-05/0.5049, allocations: 111.9 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.5049, allocations: 27.64 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.404e-05/0.505, allocations: 37.7 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.683e-05/0.505, allocations: 318.8 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.5052, allocations: 43.97 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.5053, allocations: 87.38 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.5056, allocations: 129 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5056, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003724/0.506, allocations: 195.1 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.506, allocations: 47.59 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.506, allocations: 0 / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.506, allocations: 7.938 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.385e-05/0.5061, allocations: 15.98 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.5062, allocations: 0 / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.5063, allocations: 35.88 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.5064, allocations: 11.98 kB / 1.022 GB, free: 12.76 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.052e-05/0.5065, allocations: 125.9 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.5065, allocations: 11.88 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.5065, allocations: 12.38 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.5065, allocations: 0 / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.5065, allocations: 0 / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5065, allocations: 3.984 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.5067, allocations: 197.5 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5067, allocations: 0 / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.544e-05/0.5067, allocations: 15.98 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.5068, allocations: 3.938 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.5068, allocations: 8 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.5068, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5068, allocations: 4 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.507, allocations: 132.9 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.122e-05/0.5071, allocations: 85.02 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.5071, allocations: 7.938 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.612e-05/0.5072, allocations: 11.98 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.5072, allocations: 7.984 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.5072, allocations: 0 / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.9e-05/0.5073, allocations: 99.27 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5073, allocations: 0 / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002107/0.5075, allocations: 24 kB / 1.023 GB, free: 11.92 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.0004712/0.508, allocations: 0.6791 MB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003286/0.5083, allocations: 163.4 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.5083, allocations: 0 / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.5084, allocations: 56.22 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.5086, allocations: 15.98 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.5104, allocations: 1.659 MB / 1.026 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.5106, allocations: 0.6965 MB / 1.026 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.361e-05/0.5107, allocations: 8.609 kB / 1.026 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.804e-05/0.5107, allocations: 35.44 kB / 1.026 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5108, allocations: 3.938 kB / 1.026 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1788/0.6896, allocations: 2.603 MB / 1.029 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002123/0.6898, allocations: 251.1 kB / 1.029 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.636/2.326, allocations: 0 / 1.029 GB, free: 5.777 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