Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper,fileNamePrefix="Buildings_latest_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_latest_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/Buildings 10.0.0-master/package.mo): time 2.302/2.302, allocations: 390.5 MB / 398 MB, free: 10.97 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 182.6 kB / 491.2 MB, free: 1.605 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 221.5 MB / 0.7868 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000924/0.0009242, allocations: 99.89 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.184e-05/2.185e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3022, allocations: 143 MB / 1.212 GB, free: 39.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9681/1.27, allocations: 150.5 MB / 1.359 GB, free: 17.41 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001995/1.271, allocations: 72.75 kB / 1.36 GB, free: 17.41 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01022/1.281, allocations: 3.479 MB / 1.363 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.565e-06/1.281, allocations: 0 / 1.363 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.217e-05/1.281, allocations: 7.844 kB / 1.363 GB, free: 32.92 MB / 0.8386 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.001094/1.282, allocations: 0.4922 MB / 1.363 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 7.885e-05/1.282, allocations: 14.34 kB / 1.363 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/1.282, allocations: 23.44 kB / 1.363 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000493/1.283, allocations: 263.6 kB / 1.364 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/1.283, allocations: 3.844 kB / 1.364 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.509e-05/1.283, allocations: 13.53 kB / 1.364 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002254/1.283, allocations: 82.97 kB / 1.364 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/1.283, allocations: 111.5 kB / 1.364 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/1.283, allocations: 5.875 kB / 1.364 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/1.284, allocations: 0 / 1.364 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/1.284, allocations: 3.906 kB / 1.364 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/1.285, allocations: 0.5185 MB / 1.364 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/1.285, allocations: 96.14 kB / 1.365 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.187e-05/1.285, allocations: 44.7 kB / 1.365 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.831e-05/1.285, allocations: 1.5 kB / 1.365 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001986/1.285, allocations: 92.33 kB / 1.365 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=12): time 2.244e-06/1.285, allocations: 0 / 1.365 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12): time 0.000289/1.286, allocations: 122 kB / 1.365 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/1.286, allocations: 51.41 kB / 1.365 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/1.286, allocations: 147.1 kB / 1.365 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/1.286, allocations: 33.55 kB / 1.365 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.797e-05/1.286, allocations: 140.2 kB / 1.365 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/1.286, allocations: 24.34 kB / 1.365 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.75e-05/1.286, allocations: 3.625 kB / 1.365 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001221/1.286, allocations: 328.3 kB / 1.365 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/1.286, allocations: 51.69 kB / 1.365 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/1.286, allocations: 86.28 kB / 1.366 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000281/1.287, allocations: 55.23 kB / 1.366 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.287, allocations: 0 / 1.366 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004342/1.287, allocations: 190.1 kB / 1.366 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.11e-05/1.287, allocations: 39.23 kB / 1.366 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/1.287, allocations: 0 / 1.366 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/1.287, allocations: 3.844 kB / 1.366 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/1.287, allocations: 29.52 kB / 1.366 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/1.287, allocations: 3.375 kB / 1.366 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000292/1.288, allocations: 65.94 kB / 1.366 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/1.288, allocations: 5.094 kB / 1.366 GB, free: 31.06 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.relDam.greThr.greHys.y,relDam.greThr.greHys.y,relDam.and2.y,$PRE.fanStatus.y,fanStatus.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * 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 9.531e-05/1.288, allocations: 119.8 kB / 1.366 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001629/1.288, allocations: 115.2 kB / 1.366 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.807e-05/1.288, allocations: 7.75 kB / 1.366 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/1.288, allocations: 139.3 kB / 1.366 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/1.288, allocations: 7.938 kB / 1.366 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.288, allocations: 0 / 1.366 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/1.288, allocations: 4.891 kB / 1.366 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/1.288, allocations: 222.7 kB / 1.367 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.288, allocations: 0 / 1.367 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/1.289, allocations: 29.52 kB / 1.367 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/1.289, allocations: 5.062 kB / 1.367 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/1.289, allocations: 0 / 1.367 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/1.289, allocations: 7.984 kB / 1.367 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.289, allocations: 4.906 kB / 1.367 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/1.289, allocations: 156.5 kB / 1.367 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.631e-05/1.289, allocations: 92.31 kB / 1.367 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/1.289, allocations: 4.828 kB / 1.367 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/1.289, allocations: 31.95 kB / 1.367 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.845e-05/1.289, allocations: 17.44 kB / 1.367 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/1.289, allocations: 3.344 kB / 1.367 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.953e-05/1.289, allocations: 120.8 kB / 1.367 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.289, allocations: 0 / 1.367 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002727/1.29, allocations: 42.66 kB / 1.367 GB, free: 30.41 MB / 0.8386 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) * 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 (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.0004779/1.29, allocations: 0.705 MB / 1.368 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002717/1.29, allocations: 181.1 kB / 1.368 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.29, allocations: 0 / 1.368 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.021e-05/1.29, allocations: 55.44 kB / 1.368 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/1.291, allocations: 28.84 kB / 1.368 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005368/1.291, allocations: 234.9 kB / 1.368 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/1.291, allocations: 0.7318 MB / 1.369 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.405e-05/1.292, allocations: 15.56 kB / 1.369 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.952e-05/1.292, allocations: 48.75 kB / 1.369 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of SimCode: time 7.41e-07/1.292, allocations: 0 / 1.369 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02229/1.314, allocations: 3.348 MB / 1.372 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/1.314, allocations: 196.8 kB / 1.372 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/3.116, allocations: 0 / 1.372 GB, free: 28.46 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper_res.mat does not exist to compare? outputFormat=mat