Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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_9_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_9_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.001212/0.001212, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00135/0.00135, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.429/2.429, allocations: 390.3 MB / 0.6653 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004157/0.0004158, allocations: 12 kB / 0.8147 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7894/0.7898, allocations: 142.3 MB / 0.9537 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper): time 0.001305/0.7912, allocations: 0.7195 MB / 0.9544 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001702/0.7929, allocations: 1.21 MB / 0.9556 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.7931, allocations: 2.5 kB / 0.9556 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.805e-05/0.7931, allocations: 7.875 kB / 0.9556 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.7932, allocations: 28.27 kB / 0.9556 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005004/0.7937, allocations: 154.5 kB / 0.9557 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.7939, allocations: 133 kB / 0.9559 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.7941, allocations: 58 kB / 0.9559 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.7942, allocations: 76.78 kB / 0.956 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.7943, allocations: 71.78 kB / 0.9561 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.87e-05/0.7944, allocations: 8.062 kB / 0.9561 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.133e-05/0.7944, allocations: 26.17 kB / 0.9561 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.447e-05/0.7945, allocations: 26.44 kB / 0.9561 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.677e-05/0.7945, allocations: 52.83 kB / 0.9562 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.7948, allocations: 239.2 kB / 0.9564 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.7948, allocations: 0 / 0.9564 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.054e-06/0.7948, allocations: 0.8125 kB / 0.9564 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.7948, allocations: 0 / 0.9564 GB, free: 5.914 MB / 0.7169 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.0007694/0.7956, allocations: 0.499 MB / 0.9569 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.7956, allocations: 10.19 kB / 0.9569 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.135e-05/0.7957, allocations: 47.19 kB / 0.9569 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.155e-05/0.7958, allocations: 26.78 kB / 0.957 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006602/0.7964, allocations: 321.5 kB / 0.9573 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.7965, allocations: 11.12 kB / 0.9573 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/0.7965, allocations: 20.31 kB / 0.9573 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003517/0.7969, allocations: 164.4 kB / 0.9575 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.7969, allocations: 0 / 0.9575 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.7969, allocations: 9.984 kB / 0.9575 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.7969, allocations: 6.891 kB / 0.9575 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003977/0.7973, allocations: 145.8 kB / 0.9576 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006679/0.798, allocations: 0.4955 MB / 0.9581 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003523/0.7984, allocations: 121.7 kB / 0.9582 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.7984, allocations: 5.453 kB / 0.9582 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002787/0.7987, allocations: 117.6 kB / 0.9583 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.724e-06/0.7987, allocations: 0.6562 kB / 0.9583 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0006873/0.7994, allocations: 238.7 kB / 0.9586 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.7994, allocations: 53.66 kB / 0.9586 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.7996, allocations: 185 kB / 0.9588 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.7996, allocations: 27.58 kB / 0.9588 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.448e-05/0.7997, allocations: 135.9 kB / 0.9589 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.7997, allocations: 35.27 kB / 0.959 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.541e-05/0.7997, allocations: 5.844 kB / 0.959 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.37e-05/0.7998, allocations: 326.9 kB / 0.9593 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.8, allocations: 82.23 kB / 0.9594 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.8003, allocations: 125.3 kB / 0.9595 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.8005, allocations: 115.7 kB / 0.9596 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.8006, allocations: 5.375 kB / 0.9596 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005831/0.8011, allocations: 280.4 kB / 0.9599 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.745e-05/0.8012, allocations: 40.56 kB / 0.9599 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.8012, allocations: 5.328 kB / 0.9599 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.8012, allocations: 2.75 kB / 0.9599 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.8014, allocations: 34.05 kB / 0.96 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.974e-06/0.8014, allocations: 2.75 kB / 0.96 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002676/0.8017, allocations: 65.03 kB / 0.96 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.8017, allocations: 12.25 kB / 0.96 GB, free: 2.973 MB / 0.7169 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,$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 (18): * Single equations (assignments): 17 * 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.997e-05/0.8018, allocations: 138.2 kB / 0.9602 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/0.8018, allocations: 18.62 kB / 0.9602 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004771/0.8023, allocations: 189.5 kB / 0.9604 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.8023, allocations: 9.734 kB / 0.9604 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.8023, allocations: 0 / 0.9604 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.8024, allocations: 5.016 kB / 0.9604 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.8025, allocations: 232.6 kB / 0.9606 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.8025, allocations: 1.188 kB / 0.9606 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.8027, allocations: 28.94 kB / 0.9606 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.8027, allocations: 4 kB / 0.9606 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.8027, allocations: 6 kB / 0.9606 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.8027, allocations: 5.031 kB / 0.9606 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.8027, allocations: 3.953 kB / 0.9606 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004292/0.8032, allocations: 195.2 kB / 0.9608 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.094e-05/0.8032, allocations: 92.88 kB / 0.9609 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.8032, allocations: 6.031 kB / 0.9609 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.8034, allocations: 23.92 kB / 0.9609 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.207e-05/0.8034, allocations: 22.45 kB / 0.961 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.8034, allocations: 2.938 kB / 0.961 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.557e-05/0.8035, allocations: 129.9 kB / 0.9611 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8035, allocations: 3.938 kB / 0.9611 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00026/0.8038, allocations: 41.59 kB / 0.9611 GB, free: 2.07 MB / 0.7169 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.0007078/0.8045, allocations: 0.7528 MB / 0.9619 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005176/0.805, allocations: 245.5 kB / 0.9621 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.805, allocations: 0 / 0.9621 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.8053, allocations: 74.64 kB / 0.9622 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.8055, allocations: 38.45 kB / 0.9622 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009459/0.8065, allocations: 1.497 MB / 0.9637 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.8068, allocations: 0.7284 MB / 0.9644 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001363/0.8069, allocations: 25.33 kB / 0.9644 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.807, allocations: 56.62 kB / 0.9645 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.807, allocations: 1.25 kB / 0.9645 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/0.8238, allocations: 3.715 MB / 0.9681 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002157/0.8241, allocations: 224.5 kB / 0.9683 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/2.59, allocations: 1.406 kB / 0.9683 GB, free: 13.05 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper.fmu > Buildings_9_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_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper_res.mat does not exist to compare? outputFormat=mat