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.0008677/0.000868, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001104/0.001104, allocations: 168.7 kB / 15.95 MB, free: 204 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.422/1.422, allocations: 223.3 MB / 240 MB, free: 5.32 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.414/2.414, allocations: 390.4 MB / 0.6655 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.0003928, allocations: 8 kB / 0.8149 GB, free: 13.99 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.714/0.7144, allocations: 142.3 MB / 0.9539 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper): time 0.00136/0.7158, allocations: 0.7214 MB / 0.9546 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.7174, allocations: 1.223 MB / 0.9558 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.7175, allocations: 2.188 kB / 0.9558 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.7177, allocations: 12.77 kB / 0.9558 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.948e-05/0.7177, allocations: 19.11 kB / 0.9559 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004959/0.7182, allocations: 142.8 kB / 0.956 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002471/0.7185, allocations: 216.6 kB / 0.9562 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.7186, allocations: 62.83 kB / 0.9563 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.7188, allocations: 78.97 kB / 0.9563 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.7189, allocations: 70.73 kB / 0.9564 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.7189, allocations: 7.969 kB / 0.9564 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.002e-05/0.719, allocations: 23.58 kB / 0.9564 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.265e-05/0.719, allocations: 29.06 kB / 0.9565 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.714e-05/0.7191, allocations: 53.45 kB / 0.9565 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.7193, allocations: 235.5 kB / 0.9567 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.7193, allocations: 0 / 0.9567 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7194, allocations: 0 / 0.9567 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.7194, allocations: 0.9375 kB / 0.9567 GB, free: 5.949 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.0007305/0.7201, allocations: 0.5065 MB / 0.9572 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.7202, allocations: 9.625 kB / 0.9572 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.874e-05/0.7202, allocations: 47.92 kB / 0.9573 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.297e-05/0.7203, allocations: 29.64 kB / 0.9573 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005818/0.7209, allocations: 319.8 kB / 0.9576 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.7209, allocations: 10.91 kB / 0.9576 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.29e-05/0.7209, allocations: 16.78 kB / 0.9576 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/0.7213, allocations: 157.1 kB / 0.9578 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.7213, allocations: 0 / 0.9578 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.7213, allocations: 5.094 kB / 0.9578 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.7213, allocations: 6.547 kB / 0.9578 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000364/0.7217, allocations: 146.7 kB / 0.9579 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006274/0.7223, allocations: 0.498 MB / 0.9584 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.7227, allocations: 127 kB / 0.9586 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.7229, allocations: 59.2 kB / 0.9586 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.7229, allocations: 1.375 kB / 0.9586 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003089/0.7232, allocations: 126 kB / 0.9587 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.452e-06/0.7232, allocations: 0 / 0.9587 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0005976/0.7238, allocations: 239.2 kB / 0.959 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.7239, allocations: 53.72 kB / 0.959 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.724, allocations: 179.4 kB / 0.9592 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.724, allocations: 33.45 kB / 0.9592 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.283e-05/0.7241, allocations: 137.4 kB / 0.9593 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.7242, allocations: 33.22 kB / 0.9594 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.825e-05/0.7242, allocations: 6.594 kB / 0.9594 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.084e-05/0.7243, allocations: 333.4 kB / 0.9597 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.7245, allocations: 77.45 kB / 0.9598 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.7248, allocations: 135.5 kB / 0.9599 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.725, allocations: 109.8 kB / 0.96 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.725, allocations: 1.062 kB / 0.96 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006112/0.7256, allocations: 289.4 kB / 0.9603 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.89e-05/0.7257, allocations: 40.53 kB / 0.9603 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.7257, allocations: 5.359 kB / 0.9603 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.7257, allocations: 2.75 kB / 0.9603 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.7259, allocations: 34.3 kB / 0.9604 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.7259, allocations: 2.75 kB / 0.9604 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/0.7262, allocations: 68.91 kB / 0.9604 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.7262, allocations: 8.25 kB / 0.9604 GB, free: 2.965 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 0.000122/0.7263, allocations: 138.3 kB / 0.9606 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.7264, allocations: 13.81 kB / 0.9606 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004919/0.7269, allocations: 195.8 kB / 0.9608 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.7269, allocations: 2.156 kB / 0.9608 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.7269, allocations: 0 / 0.9608 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.7269, allocations: 3.984 kB / 0.9608 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.7271, allocations: 237 kB / 0.961 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.7271, allocations: 5.031 kB / 0.961 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.7273, allocations: 29.22 kB / 0.961 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.7273, allocations: 1.062 kB / 0.961 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.7273, allocations: 5.344 kB / 0.961 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.7273, allocations: 3.953 kB / 0.961 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.7273, allocations: 1.312 kB / 0.961 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004424/0.7278, allocations: 203.5 kB / 0.9612 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.176e-05/0.7278, allocations: 96 kB / 0.9613 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.7279, allocations: 5.906 kB / 0.9613 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.728, allocations: 19.2 kB / 0.9614 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/0.728, allocations: 23.33 kB / 0.9614 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.7281, allocations: 3.031 kB / 0.9614 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.246e-05/0.7282, allocations: 132.8 kB / 0.9615 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7282, allocations: 1 kB / 0.9615 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002759/0.7285, allocations: 37.75 kB / 0.9615 GB, free: 2.066 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.0007103/0.7292, allocations: 0.751 MB / 0.9623 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005523/0.7297, allocations: 240.8 kB / 0.9625 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7297, allocations: 3.938 kB / 0.9625 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.7299, allocations: 79.17 kB / 0.9626 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.7302, allocations: 38.8 kB / 0.9626 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.7321, allocations: 1.066 MB / 0.9637 GB, free: 464 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.7324, allocations: 0.7209 MB / 0.9644 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001274/0.7325, allocations: 28.84 kB / 0.9644 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.83e-05/0.7326, allocations: 52.98 kB / 0.9645 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of SimCode: time 3.71e-07/0.7326, allocations: 0 / 0.9645 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01554/0.7481, allocations: 3.794 MB / 0.9682 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/0.7484, allocations: 234.9 kB / 0.9684 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.729/2.477, allocations: 0 / 0.9684 GB, free: 13.71 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