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.001037/0.001038, allocations: 108 kB / 15.6 MB, free: 132 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.001017/0.001017, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.166/1.166, 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.251/2.251, allocations: 437 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.89 kB / 0.8694 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4657/0.4669, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.001931/0.4689, allocations: 0.8822 MB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.4701, allocations: 1.171 MB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.894e-05/0.4702, allocations: 4 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.532e-05/0.4703, allocations: 11.86 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.049e-05/0.4703, allocations: 7.875 kB / 1.02 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004549/0.4708, allocations: 143.4 kB / 1.02 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.471, allocations: 167.7 kB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.4711, allocations: 49.55 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.4712, allocations: 59.92 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.01e-05/0.4713, allocations: 63.66 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.4713, allocations: 12 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.783e-05/0.4714, allocations: 27.98 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.579e-05/0.4714, allocations: 19.92 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.354e-05/0.4715, allocations: 63.72 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.4717, allocations: 161.8 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.4717, allocations: 0 / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4717, allocations: 0 / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.4717, allocations: 4 kB / 1.02 GB, free: 15.63 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.000526/0.4723, allocations: 444.8 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.4723, allocations: 12.03 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.234e-05/0.4723, allocations: 42.67 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.4724, allocations: 16.75 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004137/0.4728, allocations: 224.3 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.4728, allocations: 16.36 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.4729, allocations: 16.38 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.4731, allocations: 95.09 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.4731, allocations: 3.938 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.4731, allocations: 4 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.4731, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002036/0.4733, allocations: 63.94 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004513/0.4738, allocations: 404.3 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.474, allocations: 66.55 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.4741, allocations: 36.95 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.4741, allocations: 4 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.4743, allocations: 79.31 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 2.595e-06/0.4743, allocations: 0 / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0003904/0.4747, allocations: 145.5 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.4747, allocations: 51.41 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.092e-05/0.4748, allocations: 133.8 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.4749, allocations: 29.7 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.4749, allocations: 103.9 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.4749, allocations: 23.66 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.637e-05/0.475, allocations: 45.69 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.053e-05/0.4751, allocations: 314.8 kB / 1.023 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.4753, allocations: 55.89 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.4754, allocations: 71.39 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.4757, allocations: 133 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4757, allocations: 0 / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003849/0.4761, allocations: 187.2 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/0.4761, allocations: 43.91 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.4761, allocations: 8.094 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.4761, allocations: 96 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.4762, allocations: 23.92 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.4763, allocations: 3.938 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.4765, allocations: 27.97 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.4765, allocations: 8 kB / 1.023 GB, free: 12.47 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.194e-05/0.4766, allocations: 129.8 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.4766, allocations: 7.844 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.858e-05/0.4766, allocations: 12.38 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.4766, allocations: 3.984 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4766, allocations: 3.938 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.4766, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.4768, allocations: 209.5 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4768, allocations: 0 / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.606e-05/0.4769, allocations: 15.98 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.4769, allocations: 3.938 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.4769, allocations: 8 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4769, allocations: 0 / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4769, allocations: 0 / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.4772, allocations: 125.1 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.61e-05/0.4772, allocations: 85.02 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.4772, allocations: 3.938 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.709e-05/0.4773, allocations: 11.98 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.4773, allocations: 7.938 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.4774, allocations: 11.98 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.984e-05/0.4774, allocations: 96.53 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4774, allocations: 0 / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000214/0.4776, allocations: 31.91 kB / 1.024 GB, free: 11.62 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.0004937/0.4781, allocations: 0.6748 MB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003361/0.4785, allocations: 171.3 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.4785, allocations: 0 / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.4786, allocations: 40.11 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.4788, allocations: 20.84 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.4805, allocations: 1.642 MB / 1.026 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.4807, allocations: 0.7002 MB / 1.027 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.439e-05/0.4808, allocations: 16.41 kB / 1.027 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.403e-05/0.4809, allocations: 27.44 kB / 1.027 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.4809, allocations: 0 / 1.027 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.509/2.99, allocations: 2.814 MB / 1.03 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/16.79, allocations: 14.31 kB / 1.03 GB, free: 5.516 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