Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007953/0.007953, allocations: 99.97 kB / 15.73 MB, free: 6.004 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.002206/0.002206, allocations: 193.2 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.534/2.534, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 5.386/5.386, allocations: 437 MB / 0.7105 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003548/0.003548, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6334/0.637, allocations: 151.6 MB / 1.166 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper): time 0.003893/0.6409, allocations: 1.069 MB / 1.167 GB, free: 6.223 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003174/0.6442, allocations: 1.264 MB / 1.169 GB, free: 4.941 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002533/0.6445, allocations: 7.938 kB / 1.169 GB, free: 4.934 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002178/0.6447, allocations: 19.73 kB / 1.169 GB, free: 4.914 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.6449, allocations: 31.72 kB / 1.169 GB, free: 4.883 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009887/0.6459, allocations: 191.2 kB / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005477/0.6464, allocations: 263.5 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002719/0.6467, allocations: 83.98 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.6469, allocations: 91.75 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.6472, allocations: 99.58 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.842e-05/0.6473, allocations: 24 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.6474, allocations: 43.92 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.68e-05/0.6475, allocations: 47.84 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.6477, allocations: 91.58 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006435/0.6484, allocations: 327 kB / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.6484, allocations: 0 / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.735e-06/0.6484, allocations: 0 / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.6484, allocations: 0 / 1.17 GB, free: 3.648 MB / 0.92 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.001513/0.6499, allocations: 0.5275 MB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 7.268e-05/0.65, allocations: 12.03 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.583e-05/0.6501, allocations: 50.67 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.6503, allocations: 20.84 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.6515, allocations: 317 kB / 1.171 GB, free: 2.625 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.6516, allocations: 12.38 kB / 1.171 GB, free: 2.613 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.186e-05/0.6517, allocations: 16.38 kB / 1.171 GB, free: 2.598 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006558/0.6523, allocations: 157.9 kB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.6524, allocations: 0 / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.6524, allocations: 7.938 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.6524, allocations: 4 kB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007034/0.6531, allocations: 127.9 kB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.6545, allocations: 0.5001 MB / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000638/0.6551, allocations: 110.6 kB / 1.172 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003046/0.6555, allocations: 56.81 kB / 1.172 GB, free: 1.574 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.594e-05/0.6555, allocations: 4 kB / 1.172 GB, free: 1.57 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004955/0.656, allocations: 123.4 kB / 1.172 GB, free: 1.438 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 2.825e-06/0.6561, allocations: 0 / 1.172 GB, free: 1.438 MB / 0.92 GB Notification: Performance of matching and sorting (n=12): time 0.001281/0.6574, allocations: 197.4 kB / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.473e-05/0.6575, allocations: 55.39 kB / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003141/0.6578, allocations: 183.5 kB / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.949e-05/0.6579, allocations: 33.7 kB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.6581, allocations: 132.3 kB / 1.172 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.383e-05/0.6581, allocations: 39.67 kB / 1.172 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.6583, allocations: 49.69 kB / 1.172 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002259/0.6586, allocations: 326.8 kB / 1.173 GB, free: 396 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004642/0.6591, allocations: 75.94 kB / 1.173 GB, free: 320 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005297/0.6596, allocations: 124.1 kB / 1.173 GB, free: 176 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005024/0.6647, allocations: 199.6 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.6647, allocations: 0 / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00115/0.6659, allocations: 271.1 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.711e-05/0.666, allocations: 41.69 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.666, allocations: 0 / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/0.666, allocations: 7.938 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002835/0.6663, allocations: 27.92 kB / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.6664, allocations: 4.188 kB / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004645/0.6668, allocations: 55.83 kB / 1.173 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.63e-05/0.6669, allocations: 8 kB / 1.173 GB, free: 15.52 MB / 0.9356 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.001246/0.6682, allocations: 135.5 kB / 1.174 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.553e-05/0.6682, allocations: 15.91 kB / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008667/0.6691, allocations: 178.9 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.6691, allocations: 4 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.6692, allocations: 3.984 kB / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.6692, allocations: 0 / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004082/0.6696, allocations: 245.4 kB / 1.174 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.6696, allocations: 0 / 1.174 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/0.6699, allocations: 27.97 kB / 1.174 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.6699, allocations: 0 / 1.174 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.6699, allocations: 8 kB / 1.174 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.6699, allocations: 3.938 kB / 1.174 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.67, allocations: 3.938 kB / 1.174 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007693/0.6707, allocations: 195.9 kB / 1.174 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.069e-05/0.6708, allocations: 89.02 kB / 1.174 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.8e-05/0.6709, allocations: 8 kB / 1.174 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.6711, allocations: 11.98 kB / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.6713, allocations: 15.97 kB / 1.174 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.6713, allocations: 8 kB / 1.174 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001933/0.6715, allocations: 125.2 kB / 1.175 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6715, allocations: 0 / 1.175 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005511/0.6721, allocations: 43.88 kB / 1.175 GB, free: 14.32 MB / 0.9356 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.001424/0.6735, allocations: 0.7333 MB / 1.175 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001037/0.6746, allocations: 231.2 kB / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.6746, allocations: 0 / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003503/0.675, allocations: 67.89 kB / 1.176 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000511/0.6755, allocations: 40.34 kB / 1.176 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005159/0.6807, allocations: 2.049 MB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006808/0.6814, allocations: 0.7242 MB / 1.178 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002326/0.6816, allocations: 25.53 kB / 1.178 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.6818, allocations: 59.41 kB / 1.178 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of SimCode: time 1.994e-06/0.6818, allocations: 0 / 1.178 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7104/1.392, allocations: 4.101 MB / 1.182 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.86/20.25, allocations: 15.2 kB / 1.182 GB, free: 6.305 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[503]=3600.000000 File[1204]=2249.280000 Error: Could not read variable relDam.uOutDam_min in file Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper_res.csv. Warning: Get data of variable relDam.uOutDam_min from file Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper_res.csv failed! Error: Could not read variable relDam.uOutDam in file Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper_res.csv. Warning: Get data of variable relDam.uOutDam from file Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper_res.csv failed! " Variables in the reference:time,relDam.uOutDam_min,relDam.uOutDam,relDam.yRelDam Variables in the result:time,outDam.y,outDamMin.y,relDam.yRelDam,fanStatus.period,fanStatus.shift