Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001429/0.001429, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 194.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.57/2.57, allocations: 469.8 MB / 0.7424 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 71.36 kB / 0.9087 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.264, allocations: 159.1 MB / 1.064 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper): time 0.002247/0.2663, allocations: 1.055 MB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.2677, allocations: 1.271 MB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.2678, allocations: 7.938 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.268, allocations: 19.73 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.611e-05/0.268, allocations: 27.75 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004625/0.2685, allocations: 182.6 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.2688, allocations: 259.4 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.2689, allocations: 84.03 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.269, allocations: 91.77 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.2692, allocations: 103.5 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.309e-05/0.2692, allocations: 24 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.477e-05/0.2693, allocations: 43.92 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.358e-05/0.2694, allocations: 35.91 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.2695, allocations: 107.5 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.2698, allocations: 299.3 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.2698, allocations: 0 / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2698, allocations: 0 / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.2698, allocations: 0 / 1.068 GB, free: 10.52 MB / 0.8262 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.0008131/0.2706, allocations: 0.5278 MB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.2707, allocations: 15.97 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.412e-05/0.2707, allocations: 42.75 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.838e-05/0.2708, allocations: 28.64 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006438/0.2714, allocations: 308.8 kB / 1.069 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.2715, allocations: 12.38 kB / 1.069 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.2715, allocations: 20.36 kB / 1.069 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003363/0.2718, allocations: 154.4 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2719, allocations: 7.984 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.2719, allocations: 4 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.2719, allocations: 4 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003784/0.2723, allocations: 127.8 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007054/0.273, allocations: 0.5116 MB / 1.069 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/0.2733, allocations: 118.6 kB / 1.069 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.2735, allocations: 48.83 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.2736, allocations: 11.98 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000282/0.2738, allocations: 103.3 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.2739, allocations: 0 / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0006287/0.2745, allocations: 213.4 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.2745, allocations: 51.41 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.2747, allocations: 179.5 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.2747, allocations: 29.7 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.408e-05/0.2748, allocations: 136.1 kB / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.2749, allocations: 35.53 kB / 1.07 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.651e-05/0.275, allocations: 57.61 kB / 1.07 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.2751, allocations: 326.8 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002248/0.2753, allocations: 71.94 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.2756, allocations: 121.9 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004183/0.276, allocations: 200.9 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.276, allocations: 0 / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005895/0.2766, allocations: 263.6 kB / 1.071 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.711e-05/0.2766, allocations: 41.72 kB / 1.071 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.2767, allocations: 0 / 1.071 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.2767, allocations: 4 kB / 1.071 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.2768, allocations: 35.91 kB / 1.071 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2768, allocations: 0 / 1.071 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.2771, allocations: 47.8 kB / 1.071 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.2771, allocations: 8 kB / 1.071 GB, free: 6.406 MB / 0.8262 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,fanStatus.y,$PRE.fanStatus.y,relDam.and2.y,relDam.greThr.greHys.y,$PRE.relDam.greThr.greHys.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.2772, allocations: 145.7 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.2773, allocations: 15.84 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004739/0.2778, allocations: 175.7 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.2778, allocations: 8 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.2778, allocations: 0 / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.2778, allocations: 0 / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.278, allocations: 257.3 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.278, allocations: 0 / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.2781, allocations: 23.92 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.2782, allocations: 4 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-06/0.2782, allocations: 0 / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.2782, allocations: 3.984 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2782, allocations: 0 / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004199/0.2786, allocations: 193.7 kB / 1.072 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.2787, allocations: 88.92 kB / 1.072 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.2787, allocations: 8 kB / 1.072 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.2788, allocations: 23.97 kB / 1.072 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.2789, allocations: 11.98 kB / 1.072 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.2789, allocations: 4 kB / 1.072 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.711e-05/0.279, allocations: 137.1 kB / 1.072 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.279, allocations: 0 / 1.072 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002315/0.2792, allocations: 35.94 kB / 1.072 GB, free: 5.195 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007344/0.28, allocations: 0.7392 MB / 1.073 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005275/0.2805, allocations: 240 kB / 1.073 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.2805, allocations: 4 kB / 1.073 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.2807, allocations: 63.89 kB / 1.073 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.281, allocations: 29.92 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.2836, allocations: 2.043 MB / 1.076 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.2839, allocations: 0.7164 MB / 1.076 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000118/0.284, allocations: 33.52 kB / 1.076 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.647e-05/0.2841, allocations: 53.11 kB / 1.076 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.2841, allocations: 3.938 kB / 1.076 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.611/1.895, allocations: 4.056 MB / 1.08 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/14.84, allocations: 12.48 kB / 1.08 GB, free: 13.21 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper.fmu > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches