Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReliefDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReliefDamper,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReliefDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReliefDamper,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReliefDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.286/2.286, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.0009845/0.0009845, allocations: 180.8 kB / 487.4 MB, free: 5.047 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.431/1.431, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008411/0.0008411, allocations: 95.89 kB / 0.9219 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.301e-05/2.301e-05, allocations: 11.77 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2509, allocations: 142.4 MB / 1.206 GB, free: 43.77 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8096/1.06, allocations: 150.8 MB / 1.353 GB, free: 18.22 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/1.061, allocations: 80.56 kB / 1.354 GB, free: 18.22 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01737/1.078, allocations: 7.269 MB / 1.361 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.333e-06/1.078, allocations: 3.938 kB / 1.361 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.095e-05/1.078, allocations: 7.688 kB / 1.361 GB, free: 33.51 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0007968/1.079, allocations: 0.6364 MB / 1.361 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/1.079, allocations: 7.719 kB / 1.361 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.915e-05/1.079, allocations: 53.88 kB / 1.361 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003757/1.08, allocations: 341.9 kB / 1.362 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/1.08, allocations: 11.31 kB / 1.362 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.471e-05/1.08, allocations: 23 kB / 1.362 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003276/1.08, allocations: 208.1 kB / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004093/1.08, allocations: 286.9 kB / 1.362 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/1.08, allocations: 0 / 1.362 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/1.08, allocations: 6.734 kB / 1.362 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/1.08, allocations: 11.72 kB / 1.362 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/1.082, allocations: 1.167 MB / 1.363 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004155/1.082, allocations: 227.5 kB / 1.363 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/1.082, allocations: 103.3 kB / 1.364 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/1.082, allocations: 3.938 kB / 1.364 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002026/1.083, allocations: 135.7 kB / 1.364 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 1.433e-06/1.083, allocations: 0 / 1.364 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22): time 0.0003338/1.083, allocations: 199.9 kB / 1.364 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/1.083, allocations: 102.8 kB / 1.364 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/1.083, allocations: 246.4 kB / 1.364 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/1.083, allocations: 32.45 kB / 1.364 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/1.083, allocations: 217.1 kB / 1.364 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/1.083, allocations: 66.88 kB / 1.365 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/1.084, allocations: 0 / 1.365 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001139/1.084, allocations: 344.2 kB / 1.365 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/1.084, allocations: 79.45 kB / 1.365 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/1.084, allocations: 141.8 kB / 1.365 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/1.084, allocations: 92.03 kB / 1.365 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.084, allocations: 0 / 1.365 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004353/1.085, allocations: 270.3 kB / 1.365 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001226/1.085, allocations: 306.4 kB / 1.366 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/1.085, allocations: 0 / 1.366 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/1.085, allocations: 3.953 kB / 1.366 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/1.085, allocations: 63.78 kB / 1.366 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/1.085, allocations: 3.875 kB / 1.366 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003169/1.085, allocations: 80.52 kB / 1.366 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/1.085, allocations: 7.656 kB / 1.366 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.342e-06/1.085, allocations: 3.844 kB / 1.366 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003973/1.086, allocations: 215.8 kB / 1.366 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-06/1.086, allocations: 0 / 1.366 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-06/1.086, allocations: 0 / 1.366 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/1.086, allocations: 45.42 kB / 1.366 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/1.086, allocations: 3.234 kB / 1.366 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/1.086, allocations: 66.7 kB / 1.366 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/1.086, allocations: 11.53 kB / 1.366 GB, free: 30.8 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: 4 ($whenCondition1,$whenCondition2,$PRE.yFan.y,yFan.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * 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.327e-05/1.086, allocations: 123.9 kB / 1.366 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002245/1.087, allocations: 195.6 kB / 1.367 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/1.087, allocations: 30.94 kB / 1.367 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.197e-05/1.087, allocations: 23.97 kB / 1.367 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/1.087, allocations: 3.812 kB / 1.367 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.087, allocations: 3.938 kB / 1.367 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/1.087, allocations: 7.281 kB / 1.367 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/1.087, allocations: 360.8 kB / 1.367 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/1.087, allocations: 0 / 1.367 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/1.087, allocations: 47.78 kB / 1.367 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/1.087, allocations: 48 / 1.367 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/1.087, allocations: 7.234 kB / 1.367 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.087, allocations: 3.844 kB / 1.367 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.087, allocations: 0 / 1.367 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/1.088, allocations: 232.2 kB / 1.367 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.147e-05/1.088, allocations: 106.8 kB / 1.367 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/1.088, allocations: 3.969 kB / 1.367 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/1.088, allocations: 28.39 kB / 1.367 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/1.088, allocations: 18.11 kB / 1.367 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/1.088, allocations: 6.938 kB / 1.367 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001474/1.088, allocations: 188.3 kB / 1.368 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.088, allocations: 0 / 1.368 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003957/1.088, allocations: 138 kB / 1.368 GB, free: 30.11 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: 3 ($whenCondition1,$whenCondition2,yFan.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * 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.0005059/1.089, allocations: 0.7729 MB / 1.368 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004667/1.089, allocations: 434.2 kB / 1.369 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.089, allocations: 0 / 1.369 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/1.09, allocations: 87.83 kB / 1.369 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/1.09, allocations: 73.64 kB / 1.369 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000895/1.091, allocations: 0.4965 MB / 1.369 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/1.091, allocations: 0.8006 MB / 1.37 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002074/1.091, allocations: 50.08 kB / 1.37 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/1.091, allocations: 120.2 kB / 1.37 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.091, allocations: 0 / 1.37 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/1.115, allocations: 6.948 MB / 1.377 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001403/1.115, allocations: 182.8 kB / 1.377 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.873/2.989, allocations: 5.969 kB / 1.377 GB, free: 27.68 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReliefDamper.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReliefDamper.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReliefDamper.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReliefDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReliefDamper_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReliefDamper_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReliefDamper.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReliefDamper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReliefDamper_res.mat does not exist to compare? outputFormat=mat