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.ReliefDamper.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.ReliefDamper,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper",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.001592/0.001593, 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.00177/0.001771, allocations: 195.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.203/1.203, allocations: 222.9 MB / 239.8 MB, free: 4.551 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.337/2.337, allocations: 437 MB / 0.7099 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 60.03 kB / 0.8687 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5261/0.5274, allocations: 151.6 MB / 1.017 GB, free: 2.922 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper): time 0.002155/0.5296, allocations: 1.12 MB / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.531, allocations: 1.272 MB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.405e-05/0.5311, allocations: 0 / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.5312, allocations: 15.86 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.755e-05/0.5312, allocations: 15.81 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004242/0.5317, allocations: 179.5 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.5319, allocations: 231.5 kB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.532, allocations: 80.02 kB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.5321, allocations: 83.81 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.831e-05/0.5323, allocations: 91.58 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.197e-05/0.5323, allocations: 12 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.152e-05/0.5324, allocations: 24 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.598e-05/0.5324, allocations: 31.84 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.885e-05/0.5325, allocations: 95.5 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.5328, allocations: 297.1 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5328, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.92e-07/0.5328, allocations: 3.938 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.5328, allocations: 0 / 1.02 GB, free: 15.38 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0007888/0.5336, allocations: 0.5199 MB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.5336, allocations: 12.03 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.341e-05/0.5337, allocations: 50.73 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.317e-05/0.5337, allocations: 20.66 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006148/0.5344, allocations: 312 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.5344, allocations: 12.38 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.5344, allocations: 16.38 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.5348, allocations: 162.4 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.5348, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.5348, allocations: 8 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/0.5348, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003494/0.5352, allocations: 119.9 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006607/0.5358, allocations: 0.5117 MB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003288/0.5362, allocations: 110.6 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.5363, allocations: 52.81 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.5364, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002741/0.5366, allocations: 123.4 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.5367, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0005795/0.5372, allocations: 193.5 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.5373, allocations: 59.41 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.5374, allocations: 175.9 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.5374, allocations: 37.64 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.053e-05/0.5375, allocations: 144 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.5376, allocations: 35.53 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-05/0.5377, allocations: 45.7 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.541e-05/0.5378, allocations: 338.7 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.538, allocations: 75.94 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.5382, allocations: 121.8 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003684/0.5386, allocations: 191.6 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5386, allocations: 0 / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005445/0.5392, allocations: 276.6 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/0.5392, allocations: 35.58 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.5392, allocations: 8 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.5392, allocations: 0 / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.5394, allocations: 36.16 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.5394, allocations: 7.938 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/0.5396, allocations: 43.86 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/0.5397, allocations: 11.98 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,fanStatus.y,$PRE.fanStatus.y,relDam.and2.y,relDam.greThr.greHys.y,$PRE.relDam.greThr.greHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 0.0001058/0.5398, allocations: 137.7 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.5398, allocations: 19.81 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004387/0.5403, allocations: 170.9 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.5403, allocations: 0 / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.5403, allocations: 0 / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.5403, allocations: 3.984 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.5405, allocations: 249.4 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5405, allocations: 0 / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.5406, allocations: 31.97 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.5406, allocations: 0 / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.5406, allocations: 3.938 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.5406, allocations: 4 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.5406, allocations: 0 / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003928/0.541, allocations: 197.6 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.5411, allocations: 92.94 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.5411, allocations: 0 / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.5412, allocations: 15.98 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.627e-05/0.5413, allocations: 15.97 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.5413, allocations: 8 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.344e-05/0.5414, allocations: 124.1 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5414, allocations: 0 / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002357/0.5417, allocations: 43.89 kB / 1.025 GB, free: 10.08 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: 5 ($whenCondition1,$whenCondition2,relDam.greThr.greHys.y,relDam.and2.y,fanStatus.y) * Number of discrete states: 1 (relDam.greThr.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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.0006717/0.5423, allocations: 0.744 MB / 1.026 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004714/0.5428, allocations: 223.2 kB / 1.026 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.5428, allocations: 0 / 1.026 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.543, allocations: 72.27 kB / 1.026 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.5433, allocations: 36.47 kB / 1.026 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002447/0.5457, allocations: 2.085 MB / 1.028 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.546, allocations: 0.7242 MB / 1.029 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000112/0.5461, allocations: 21.55 kB / 1.029 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.222e-05/0.5462, allocations: 55.42 kB / 1.029 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of SimCode: time 1.624e-06/0.5462, allocations: 0 / 1.029 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01333/0.5595, allocations: 3.735 MB / 1.033 GB, free: 2.418 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002301/0.5598, allocations: 245.1 kB / 1.033 GB, free: 2.168 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.507/2.067, allocations: 8.062 kB / 1.033 GB, free: 2.16 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches