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/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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.001413/0.001413, 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.498/1.498, allocations: 223.2 MB / 240 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.407/2.407, allocations: 409.4 MB / 0.684 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003266/0.0003267, allocations: 8 kB / 0.8378 GB, free: 6.387 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6162/0.6166, allocations: 146.8 MB / 0.9812 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper): time 0.001083/0.6177, allocations: 0.7251 MB / 0.9819 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.6192, allocations: 1.237 MB / 0.9831 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.6194, allocations: 4 kB / 0.9831 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.6195, allocations: 11.86 kB / 0.9831 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.455e-05/0.6196, allocations: 27.78 kB / 0.9832 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004862/0.6201, allocations: 138.5 kB / 0.9833 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002738/0.6203, allocations: 219.5 kB / 0.9835 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.6205, allocations: 54.08 kB / 0.9836 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.6206, allocations: 71.75 kB / 0.9836 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.6208, allocations: 75.61 kB / 0.9837 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.37e-05/0.6208, allocations: 8 kB / 0.9837 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.98e-05/0.6209, allocations: 27.98 kB / 0.9837 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.273e-05/0.6209, allocations: 27.89 kB / 0.9838 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.338e-05/0.621, allocations: 57.58 kB / 0.9838 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.6212, allocations: 237.6 kB / 0.984 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.6212, allocations: 0 / 0.984 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6213, allocations: 0 / 0.984 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.6213, allocations: 0 / 0.984 GB, free: 3.285 MB / 0.7325 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.0007866/0.6221, allocations: 0.5003 MB / 0.9845 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.6221, allocations: 11.97 kB / 0.9845 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.168e-05/0.6222, allocations: 46.55 kB / 0.9846 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.955e-05/0.6222, allocations: 19.81 kB / 0.9846 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006582/0.6229, allocations: 323.7 kB / 0.9849 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.6229, allocations: 19.92 kB / 0.9849 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.541e-05/0.623, allocations: 16 kB / 0.9849 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003901/0.6234, allocations: 161.5 kB / 0.9851 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.6234, allocations: 4 kB / 0.9851 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.6234, allocations: 4 kB / 0.9851 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.6234, allocations: 7.938 kB / 0.9851 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003552/0.6238, allocations: 143.9 kB / 0.9853 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006924/0.6245, allocations: 0.5003 MB / 0.9857 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003243/0.6248, allocations: 114.6 kB / 0.9859 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.625, allocations: 68.77 kB / 0.9859 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.6251, allocations: 4 kB / 0.9859 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002837/0.6253, allocations: 123.3 kB / 0.986 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.462e-06/0.6254, allocations: 0 / 0.986 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12): time 0.0005923/0.626, allocations: 237.4 kB / 0.9863 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.626, allocations: 51.41 kB / 0.9863 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.6261, allocations: 176.3 kB / 0.9865 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.6262, allocations: 33.7 kB / 0.9865 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.752e-05/0.6263, allocations: 132.1 kB / 0.9866 GB, free: 404 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.6263, allocations: 35.55 kB / 0.9867 GB, free: 368 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.435e-05/0.6263, allocations: 0 / 0.9867 GB, free: 368 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.6264, allocations: 334.8 kB / 0.987 GB, free: 24 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/0.6267, allocations: 75.95 kB / 0.9871 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/0.6269, allocations: 133.9 kB / 0.9872 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.6272, allocations: 109.6 kB / 0.9873 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6272, allocations: 7.953 kB / 0.9873 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005658/0.6277, allocations: 281.7 kB / 0.9876 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.433e-05/0.6278, allocations: 37.69 kB / 0.9876 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.6278, allocations: 0 / 0.9876 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.6278, allocations: 4 kB / 0.9876 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.628, allocations: 44.05 kB / 0.9877 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.628, allocations: 0 / 0.9877 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.6282, allocations: 75.77 kB / 0.9877 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.6283, allocations: 8 kB / 0.9877 GB, free: 15.22 MB / 0.7481 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.0001212/0.6284, allocations: 135.2 kB / 0.9879 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.6284, allocations: 19.7 kB / 0.9879 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004497/0.6289, allocations: 195 kB / 0.9881 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.6289, allocations: 7.984 kB / 0.9881 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.6289, allocations: 0 / 0.9881 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.6289, allocations: 0 / 0.9881 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.6291, allocations: 237.6 kB / 0.9883 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.6291, allocations: 7.938 kB / 0.9883 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.6293, allocations: 31.92 kB / 0.9883 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.6293, allocations: 0 / 0.9883 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.6293, allocations: 4 kB / 0.9883 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.6293, allocations: 3.938 kB / 0.9884 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6293, allocations: 0 / 0.9884 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003978/0.6297, allocations: 204.8 kB / 0.9885 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.792e-05/0.6298, allocations: 92.92 kB / 0.9886 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.6298, allocations: 3.953 kB / 0.9886 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.6299, allocations: 19.98 kB / 0.9887 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.63, allocations: 15.97 kB / 0.9887 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.63, allocations: 11.98 kB / 0.9887 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.358e-05/0.6301, allocations: 124.3 kB / 0.9888 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6301, allocations: 0 / 0.9888 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002448/0.6304, allocations: 43.84 kB / 0.9888 GB, free: 13.98 MB / 0.7481 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.0006955/0.6311, allocations: 0.7516 MB / 0.9896 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004858/0.6316, allocations: 239.2 kB / 0.9898 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.6316, allocations: 4 kB / 0.9898 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.6318, allocations: 80.27 kB / 0.9899 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.632, allocations: 40.27 kB / 0.9899 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.6338, allocations: 1.062 MB / 0.991 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.634, allocations: 0.7242 MB / 0.9917 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001275/0.6342, allocations: 25.55 kB / 0.9917 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.673e-05/0.6343, allocations: 51.41 kB / 0.9917 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of SimCode: time 2.21e-07/0.6343, allocations: 4 kB / 0.9917 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.7/2.334, allocations: 3.8 MB / 0.9955 GB, free: 7.332 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003011/2.335, allocations: 231.2 kB / 0.9957 GB, free: 7.094 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/4.108, allocations: 2.031 kB / 0.9957 GB, free: 7.094 MB / 0.7481 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) Environment - environmentSimulation: 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