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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001265/0.001264, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001561/0.001561, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.881/1.881, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.57/2.57, allocations: 390.2 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 59.91 kB / 0.8122 GB, free: 14.6 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7362/0.7382, allocations: 140.4 MB / 0.9493 GB, free: 9.309 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper): time 0.001913/0.7402, allocations: 1.111 MB / 0.9504 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.7413, allocations: 1.238 MB / 0.9516 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.835e-05/0.7414, allocations: 12.06 kB / 0.9516 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.7415, allocations: 15.86 kB / 0.9516 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.852e-05/0.7416, allocations: 10.62 kB / 0.9516 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004375/0.742, allocations: 175.1 kB / 0.9518 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000222/0.7422, allocations: 260 kB / 0.952 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.7424, allocations: 93.67 kB / 0.9521 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.856e-05/0.7425, allocations: 91.12 kB / 0.9522 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.867e-05/0.7426, allocations: 96.25 kB / 0.9523 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.846e-05/0.7426, allocations: 24.5 kB / 0.9523 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.345e-05/0.7427, allocations: 42.67 kB / 0.9524 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.057e-05/0.7428, allocations: 42.06 kB / 0.9524 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.354e-05/0.7428, allocations: 97.83 kB / 0.9525 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.7431, allocations: 309.9 kB / 0.9528 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.7431, allocations: 1.375 kB / 0.9528 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7431, allocations: 0 / 0.9528 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.7431, allocations: 4 kB / 0.9528 GB, free: 6.574 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.0006775/0.7438, allocations: 0.5246 MB / 0.9533 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.7438, allocations: 8.531 kB / 0.9533 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.24e-05/0.7438, allocations: 46.7 kB / 0.9534 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.253e-05/0.7439, allocations: 20.34 kB / 0.9534 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005467/0.7445, allocations: 314.6 kB / 0.9537 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.7445, allocations: 11.03 kB / 0.9537 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.7445, allocations: 17.34 kB / 0.9537 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000316/0.7448, allocations: 150.5 kB / 0.9539 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.7449, allocations: 1.156 kB / 0.9539 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.7449, allocations: 9 kB / 0.9539 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.7449, allocations: 6.75 kB / 0.9539 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000349/0.7452, allocations: 120.2 kB / 0.954 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00059/0.7458, allocations: 0.5062 MB / 0.9545 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003194/0.7462, allocations: 112.3 kB / 0.9546 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.7463, allocations: 59.48 kB / 0.9547 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.7464, allocations: 5.078 kB / 0.9547 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002471/0.7466, allocations: 115.5 kB / 0.9548 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.7466, allocations: 0 / 0.9548 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0005901/0.7472, allocations: 205.2 kB / 0.955 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.034e-05/0.7473, allocations: 53.72 kB / 0.955 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.7474, allocations: 177.6 kB / 0.9552 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.7474, allocations: 32.48 kB / 0.9552 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.01e-05/0.7475, allocations: 146.6 kB / 0.9554 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.7475, allocations: 32.56 kB / 0.9554 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.726e-05/0.7476, allocations: 49.59 kB / 0.9554 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.933e-05/0.7476, allocations: 326.5 kB / 0.9557 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.7479, allocations: 74.5 kB / 0.9558 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.7481, allocations: 118 kB / 0.9559 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003563/0.7484, allocations: 203.6 kB / 0.9561 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.7485, allocations: 0 / 0.9561 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005323/0.749, allocations: 271.5 kB / 0.9564 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.749, allocations: 41 kB / 0.9564 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.749, allocations: 1.969 kB / 0.9564 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.7491, allocations: 1.781 kB / 0.9564 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.7492, allocations: 31.33 kB / 0.9565 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.7492, allocations: 5.766 kB / 0.9565 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.7495, allocations: 44.14 kB / 0.9565 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.7495, allocations: 12.09 kB / 0.9565 GB, free: 3.492 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,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 8.624e-05/0.7496, allocations: 142.5 kB / 0.9567 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.7496, allocations: 17.53 kB / 0.9567 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004306/0.7501, allocations: 172.9 kB / 0.9568 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.7501, allocations: 5.453 kB / 0.9568 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.7501, allocations: 0 / 0.9568 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.7501, allocations: 0 / 0.9568 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.7502, allocations: 241 kB / 0.9571 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.7502, allocations: 1.312 kB / 0.9571 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.7504, allocations: 28.5 kB / 0.9571 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.7504, allocations: 1.438 kB / 0.9571 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.7504, allocations: 9.094 kB / 0.9571 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.7504, allocations: 5.297 kB / 0.9571 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7504, allocations: 0 / 0.9571 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003796/0.7508, allocations: 191.9 kB / 0.9573 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.847e-05/0.7508, allocations: 92.17 kB / 0.9574 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.7509, allocations: 6.219 kB / 0.9574 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.751, allocations: 11.92 kB / 0.9574 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/0.7511, allocations: 19 kB / 0.9574 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.7511, allocations: 10.28 kB / 0.9574 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.749e-05/0.7511, allocations: 131.8 kB / 0.9576 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7511, allocations: 3.938 kB / 0.9576 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002504/0.7514, allocations: 47.42 kB / 0.9576 GB, free: 2.582 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 (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.0005715/0.752, allocations: 0.7349 MB / 0.9583 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006333/0.7526, allocations: 240 kB / 0.9586 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7526, allocations: 0 / 0.9586 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.7529, allocations: 68.73 kB / 0.9586 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.7532, allocations: 35.47 kB / 0.9587 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/0.7562, allocations: 2.075 MB / 0.9607 GB, free: 8 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.7566, allocations: 0.7202 MB / 0.9614 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001746/0.7567, allocations: 28.06 kB / 0.9614 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.7569, allocations: 50.2 kB / 0.9615 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.7569, allocations: 0 / 0.9615 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.497/4.254, allocations: 3.857 MB / 0.9652 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0672/4.321, allocations: 244.3 kB / 0.9655 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.903/7.224, allocations: 2.812 kB / 0.9655 GB, free: 13.18 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/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) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches