Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002521/0.002521, allocations: 219.2 kB / 22.26 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.609/1.609, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.534/3.534, allocations: 0.49 GB / 0.7951 GB, free: 33.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper,fileNamePrefix="Buildings_12_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_12_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 69.95 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4198/0.4219, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper): time 0.003363/0.4253, allocations: 1.062 MB / 1.327 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002374/0.4276, allocations: 1.307 MB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00022/0.4278, allocations: 7.938 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001841/0.428, allocations: 19.73 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.4281, allocations: 23.75 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006894/0.4288, allocations: 189.9 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004687/0.4293, allocations: 263.4 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/0.4295, allocations: 60.67 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002181/0.4297, allocations: 103.6 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/0.4299, allocations: 107.5 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.51e-05/0.43, allocations: 24 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.4301, allocations: 39.98 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.53e-05/0.4301, allocations: 39.91 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.4303, allocations: 103.5 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005103/0.4308, allocations: 314.8 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4308, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.243e-06/0.4308, allocations: 4 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.4308, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 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.001061/0.4319, allocations: 463.1 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.4319, allocations: 8.031 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.88e-05/0.432, allocations: 50.73 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.055e-05/0.4321, allocations: 20.8 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008113/0.4329, allocations: 254.2 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.4329, allocations: 16.36 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/0.4329, allocations: 16.38 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003912/0.4333, allocations: 154.4 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.4333, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.4334, allocations: 8 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.4334, allocations: 0 / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003918/0.4338, allocations: 131.8 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008946/0.4347, allocations: 479.3 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003939/0.435, allocations: 114.5 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.4352, allocations: 48.83 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.4353, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003114/0.4356, allocations: 115.3 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.684e-06/0.4356, allocations: 0 / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0006723/0.4362, allocations: 205.6 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.4363, allocations: 59.34 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.4365, allocations: 179.5 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.4365, allocations: 33.7 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.4366, allocations: 144.2 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/0.4367, allocations: 31.7 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.52e-05/0.4368, allocations: 57.69 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.4369, allocations: 326.8 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/0.4371, allocations: 71.94 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.4374, allocations: 122 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004412/0.4378, allocations: 196.4 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4378, allocations: 3.938 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006733/0.4385, allocations: 271.2 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.643e-05/0.4386, allocations: 37.69 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4386, allocations: 4 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.4386, allocations: 4 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.4388, allocations: 31.91 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.4388, allocations: 4 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.439, allocations: 43.84 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.4391, allocations: 16.03 kB / 1.333 GB, free: 10.34 MB / 1.029 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.0001477/0.4392, allocations: 141.7 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.4392, allocations: 19.89 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005016/0.4397, allocations: 174.1 kB / 1.333 GB, free: 9.984 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4397, allocations: 4 kB / 1.333 GB, free: 9.98 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.4397, allocations: 4 kB / 1.333 GB, free: 9.977 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4398, allocations: 0 / 1.333 GB, free: 9.977 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.44, allocations: 216.5 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.44, allocations: 3.938 kB / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.4402, allocations: 27.91 kB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.4402, allocations: 0 / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.4402, allocations: 8 kB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.4402, allocations: 0 / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.4402, allocations: 4 kB / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004559/0.4407, allocations: 184.9 kB / 1.334 GB, free: 9.48 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/0.4407, allocations: 15.84 kB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.4407, allocations: 8 kB / 1.334 GB, free: 9.457 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.4408, allocations: 15.98 kB / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.635e-05/0.4409, allocations: 19.95 kB / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.4409, allocations: 8 kB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001073/0.441, allocations: 120.1 kB / 1.334 GB, free: 9.297 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.441, allocations: 0 / 1.334 GB, free: 9.297 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002807/0.4413, allocations: 43.89 kB / 1.334 GB, free: 9.254 MB / 1.029 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.0008703/0.4422, allocations: 0.7377 MB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005752/0.4428, allocations: 223.4 kB / 1.335 GB, free: 8.258 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4428, allocations: 0 / 1.335 GB, free: 8.258 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.443, allocations: 67.64 kB / 1.335 GB, free: 8.195 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.4433, allocations: 44.09 kB / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00316/0.4464, allocations: 2.047 MB / 1.337 GB, free: 5.988 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.4468, allocations: 0.7203 MB / 1.338 GB, free: 5.242 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001165/0.4469, allocations: 21.48 kB / 1.338 GB, free: 5.223 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.447, allocations: 51.42 kB / 1.338 GB, free: 5.172 MB / 1.029 GB Notification: Performance of SimCode: time 7.71e-07/0.447, allocations: 0 / 1.338 GB, free: 5.172 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03527/0.4823, allocations: 4.276 MB / 1.342 GB, free: 1.09 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.4, allocations: 0 / 1.342 GB, free: 1.09 MB / 1.029 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper.fmu > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.84294587606564]