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.25/2.25, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001427/0.001427, allocations: 179 kB / 0.4901 GB, free: 2.27 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.475/1.475, allocations: 223.1 MB / 0.7992 GB, free: 14.69 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.0009575/0.0009576, allocations: 94.39 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003638, allocations: 6.875 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2852, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1878/0.473, allocations: 151.2 MB / 1.377 GB, free: 2.16 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/0.4733, allocations: 79.94 kB / 1.377 GB, free: 2.082 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01289/0.4862, allocations: 3.519 MB / 1.381 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4863, allocations: 0 / 1.381 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.536e-05/0.4863, allocations: 4 kB / 1.381 GB, free: 14.55 MB / 0.8855 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.000947/0.4872, allocations: 0.5202 MB / 1.381 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.4873, allocations: 8.562 kB / 1.381 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.643e-05/0.4874, allocations: 46.55 kB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.519e-05/0.4875, allocations: 23.72 kB / 1.381 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004778/0.488, allocations: 262.7 kB / 1.381 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.488, allocations: 12 kB / 1.381 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.735e-05/0.488, allocations: 16 kB / 1.381 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005221/0.4886, allocations: 170.3 kB / 1.382 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.4886, allocations: 4 kB / 1.382 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.4886, allocations: 8 kB / 1.382 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.4887, allocations: 0 / 1.382 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005624/0.4892, allocations: 163.9 kB / 1.382 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.4904, allocations: 0.5625 MB / 1.382 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005652/0.4909, allocations: 142.6 kB / 1.382 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.491, allocations: 3.938 kB / 1.382 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004605/0.4915, allocations: 139.4 kB / 1.383 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=12): time 2.375e-06/0.4915, allocations: 0 / 1.383 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12): time 0.0009913/0.4925, allocations: 261.4 kB / 1.383 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.4925, allocations: 51.41 kB / 1.383 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.4928, allocations: 181.7 kB / 1.383 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.536e-05/0.4928, allocations: 29.7 kB / 1.383 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.493, allocations: 127.9 kB / 1.383 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.938e-05/0.493, allocations: 31.55 kB / 1.383 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/0.4931, allocations: 4 kB / 1.383 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.4932, allocations: 326.8 kB / 1.384 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003652/0.4936, allocations: 95.94 kB / 1.384 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003833/0.494, allocations: 130.8 kB / 1.384 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/0.4944, allocations: 113.7 kB / 1.384 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4944, allocations: 4.031 kB / 1.384 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0008711/0.4953, allocations: 283.1 kB / 1.384 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.789e-05/0.4953, allocations: 37.7 kB / 1.384 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.4954, allocations: 3.984 kB / 1.384 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.4954, allocations: 0 / 1.384 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.4956, allocations: 35.92 kB / 1.384 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.4956, allocations: 0 / 1.384 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004226/0.4961, allocations: 79.77 kB / 1.384 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.4961, allocations: 4 kB / 1.384 GB, free: 10.46 MB / 0.8855 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 () * Number of clocked 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 0.0001959/0.4963, allocations: 146.6 kB / 1.384 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/0.4963, allocations: 15.81 kB / 1.384 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007081/0.4971, allocations: 212.5 kB / 1.385 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4971, allocations: 0 / 1.385 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4971, allocations: 0 / 1.385 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.4971, allocations: 7.984 kB / 1.385 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.4974, allocations: 253.5 kB / 1.385 GB, free: 9.777 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.4974, allocations: 3.984 kB / 1.385 GB, free: 9.773 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.4976, allocations: 39.92 kB / 1.385 GB, free: 9.734 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.4976, allocations: 0 / 1.385 GB, free: 9.734 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.4977, allocations: 0 / 1.385 GB, free: 9.734 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4977, allocations: 3.938 kB / 1.385 GB, free: 9.73 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4977, allocations: 0 / 1.385 GB, free: 9.73 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006683/0.4984, allocations: 228.8 kB / 1.385 GB, free: 9.488 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.527e-05/0.4985, allocations: 96.84 kB / 1.385 GB, free: 9.375 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/0.4985, allocations: 8 kB / 1.385 GB, free: 9.367 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.4987, allocations: 31.97 kB / 1.385 GB, free: 9.336 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.198e-05/0.4988, allocations: 19.97 kB / 1.385 GB, free: 9.316 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.4989, allocations: 7.938 kB / 1.385 GB, free: 9.309 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001502/0.499, allocations: 140.5 kB / 1.385 GB, free: 9.172 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.2e-07/0.499, allocations: 0 / 1.385 GB, free: 9.172 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003915/0.4994, allocations: 47.91 kB / 1.385 GB, free: 9.125 MB / 0.8855 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 (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.001105/0.5005, allocations: 0.7751 MB / 1.386 GB, free: 8.32 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007916/0.5013, allocations: 263.2 kB / 1.386 GB, free: 8.051 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.5014, allocations: 4 kB / 1.386 GB, free: 8.047 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003045/0.5017, allocations: 88.02 kB / 1.387 GB, free: 7.961 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.502, allocations: 34.3 kB / 1.387 GB, free: 7.93 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.5032, allocations: 0.8777 MB / 1.387 GB, free: 6.992 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.5036, allocations: 0.736 MB / 1.388 GB, free: 6.23 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000107/0.5037, allocations: 13.42 kB / 1.388 GB, free: 6.215 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.5038, allocations: 51.42 kB / 1.388 GB, free: 6.164 MB / 0.8855 GB Notification: Performance of SimCode: time 4.769e-06/0.5039, allocations: 8 kB / 1.388 GB, free: 6.156 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0193/0.5232, allocations: 3.969 MB / 1.392 GB, free: 2.43 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002599/0.5235, allocations: 227.7 kB / 1.392 GB, free: 2.191 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/2.205, allocations: 1.562 kB / 1.392 GB, free: 2.191 MB / 0.8855 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