Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|outDamPos.y|exhDamPos.yExhDamPos",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|outDamPos.y|exhDamPos.yExhDamPos",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.362/1.362, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001089/0.001089, allocations: 181.5 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.9/1.9, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008826/0.0008827, allocations: 91.84 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003139/0.0003139, allocations: 9.438 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2461, allocations: 106.3 MB / 0.9002 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1752/0.4214, allocations: 132.5 MB / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.4216, allocations: 79.94 kB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004416/0.4261, allocations: 1.839 MB / 1.031 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4261, allocations: 0 / 1.031 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.408e-05/0.4261, allocations: 12.2 kB / 1.031 GB, free: 9.309 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005542/0.4267, allocations: 419 kB / 1.032 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.4267, allocations: 11.97 kB / 1.032 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.4268, allocations: 19.8 kB / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.427, allocations: 213.1 kB / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.4271, allocations: 12.23 kB / 1.032 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.4271, allocations: 12 kB / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003058/0.4274, allocations: 131.5 kB / 1.032 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.4274, allocations: 0 / 1.032 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.4274, allocations: 4 kB / 1.032 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.4275, allocations: 4 kB / 1.032 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002814/0.4277, allocations: 116.6 kB / 1.032 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008234/0.4286, allocations: 0.5165 MB / 1.033 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.4288, allocations: 90.61 kB / 1.033 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.4288, allocations: 4.156 kB / 1.033 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.4289, allocations: 38.55 kB / 1.033 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 3.036e-06/0.4289, allocations: 0 / 1.033 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0004437/0.4293, allocations: 161.4 kB / 1.033 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.4294, allocations: 55.39 kB / 1.033 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.4295, allocations: 171.5 kB / 1.033 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.4296, allocations: 25.7 kB / 1.033 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.855e-05/0.4296, allocations: 116 kB / 1.033 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.4297, allocations: 19.72 kB / 1.033 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-06/0.4297, allocations: 4 kB / 1.033 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.4298, allocations: 334.8 kB / 1.034 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.4299, allocations: 39.98 kB / 1.034 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.4301, allocations: 65.56 kB / 1.034 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.4302, allocations: 35.98 kB / 1.034 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4302, allocations: 0 / 1.034 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002723/0.4305, allocations: 137.5 kB / 1.034 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.4305, allocations: 4 kB / 1.034 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.4305, allocations: 0 / 1.034 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.4305, allocations: 4 kB / 1.034 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.4307, allocations: 15.98 kB / 1.034 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.912e-06/0.4307, allocations: 0 / 1.034 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.4308, allocations: 31.83 kB / 1.034 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.4308, allocations: 4 kB / 1.034 GB, free: 6.312 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.exhDamPos.greThr.y,exhDamPos.greThr.y,exhDamPos.and2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.4309, allocations: 129.7 kB / 1.034 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.431, allocations: 11.81 kB / 1.034 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003478/0.4313, allocations: 147 kB / 1.034 GB, free: 6.016 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.4313, allocations: 0 / 1.034 GB, free: 6.016 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4314, allocations: 4 kB / 1.034 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.4314, allocations: 0 / 1.034 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005467/0.4319, allocations: 439.9 kB / 1.035 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4319, allocations: 0 / 1.035 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.319e-05/0.432, allocations: 19.98 kB / 1.035 GB, free: 5.504 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.432, allocations: 4 kB / 1.035 GB, free: 5.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.4321, allocations: 0 / 1.035 GB, free: 5.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4321, allocations: 0 / 1.035 GB, free: 5.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4321, allocations: 0 / 1.035 GB, free: 5.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.4324, allocations: 245.8 kB / 1.035 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.188e-05/0.4325, allocations: 96.86 kB / 1.035 GB, free: 5.121 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.4325, allocations: 0 / 1.035 GB, free: 5.121 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.4327, allocations: 24.27 kB / 1.035 GB, free: 5.098 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/0.4327, allocations: 23.91 kB / 1.035 GB, free: 5.074 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.4327, allocations: 4 kB / 1.035 GB, free: 5.07 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001149/0.4329, allocations: 144.2 kB / 1.035 GB, free: 4.93 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.4329, allocations: 0 / 1.035 GB, free: 4.93 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002218/0.4331, allocations: 24 kB / 1.035 GB, free: 4.906 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (exhDamPos.greThr.y,exhDamPos.and2.y) * Number of discrete states: 1 (exhDamPos.greThr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001378/0.4332, allocations: 111.2 kB / 1.035 GB, free: 4.785 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003013/0.4336, allocations: 91.89 kB / 1.036 GB, free: 4.695 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4336, allocations: 0 / 1.036 GB, free: 4.695 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.4337, allocations: 55.97 kB / 1.036 GB, free: 4.641 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.434, allocations: 27.22 kB / 1.036 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004823/0.4345, allocations: 277.1 kB / 1.036 GB, free: 4.316 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.4348, allocations: 0.7165 MB / 1.037 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.628e-05/0.4349, allocations: 8.656 kB / 1.037 GB, free: 3.566 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/0.4349, allocations: 19.42 kB / 1.037 GB, free: 3.547 MB / 0.6823 GB Notification: Performance of SimCode: time 5.41e-07/0.4349, allocations: 0 / 1.037 GB, free: 3.547 MB / 0.6823 GB Notification: Performance of Templates: time 0.003776/0.4387, allocations: 1.424 MB / 1.038 GB, free: 2.18 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches