Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.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_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper",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.001007/0.001007, 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.001021/0.001021, allocations: 198.3 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.176/1.176, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.07/2.07, allocations: 390.2 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.91 kB / 0.8127 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4765/0.4777, allocations: 140.4 MB / 0.9498 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper): time 0.001799/0.4795, allocations: 0.9346 MB / 0.9507 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007978/0.4804, allocations: 0.8997 MB / 0.9516 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.604e-05/0.4805, allocations: 2.219 kB / 0.9516 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.576e-05/0.4805, allocations: 11.81 kB / 0.9516 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.451e-05/0.4806, allocations: 22.44 kB / 0.9516 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001402/0.4807, allocations: 53.58 kB / 0.9517 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.4809, allocations: 143.5 kB / 0.9518 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.481, allocations: 74.56 kB / 0.9519 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.625e-05/0.4811, allocations: 50.73 kB / 0.9519 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.954e-05/0.4812, allocations: 71.72 kB / 0.952 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.4812, allocations: 16.84 kB / 0.952 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.253e-05/0.4812, allocations: 14.91 kB / 0.952 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.497e-05/0.4812, allocations: 29.02 kB / 0.9521 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.585e-05/0.4813, allocations: 68.55 kB / 0.9521 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.4814, allocations: 200.4 kB / 0.9523 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.4814, allocations: 0 / 0.9523 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4814, allocations: 0 / 0.9523 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.748e-06/0.4815, allocations: 0 / 0.9523 GB, free: 7.113 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004515/0.4819, allocations: 449.5 kB / 0.9527 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.4819, allocations: 9.156 kB / 0.9527 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.168e-05/0.482, allocations: 46.58 kB / 0.9528 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.482, allocations: 19.95 kB / 0.9528 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.4822, allocations: 222.4 kB / 0.953 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.4822, allocations: 10.02 kB / 0.953 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.4823, allocations: 12.28 kB / 0.953 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.4825, allocations: 137.3 kB / 0.9532 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.4825, allocations: 3.938 kB / 0.9532 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.4825, allocations: 5.344 kB / 0.9532 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.4825, allocations: 2.906 kB / 0.9532 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002368/0.4828, allocations: 110.5 kB / 0.9533 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005258/0.4833, allocations: 477.4 kB / 0.9537 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.4835, allocations: 85.58 kB / 0.9538 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.4836, allocations: 44.55 kB / 0.9539 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.4836, allocations: 1.438 kB / 0.9539 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.444e-05/0.4837, allocations: 34.56 kB / 0.9539 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.4837, allocations: 1.594 kB / 0.9539 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003797/0.484, allocations: 136.3 kB / 0.954 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.52e-05/0.4841, allocations: 51.41 kB / 0.9541 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.4842, allocations: 188 kB / 0.9543 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.4842, allocations: 31.14 kB / 0.9543 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.417e-05/0.4843, allocations: 123.3 kB / 0.9544 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.4843, allocations: 26.58 kB / 0.9544 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.962e-05/0.4843, allocations: 24.91 kB / 0.9545 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.604e-05/0.4844, allocations: 322.6 kB / 0.9548 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.4845, allocations: 38.75 kB / 0.9548 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.4846, allocations: 60.83 kB / 0.9549 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.4848, allocations: 82.03 kB / 0.9549 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4848, allocations: 11.88 kB / 0.955 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002488/0.4851, allocations: 131.4 kB / 0.9551 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.4851, allocations: 6.031 kB / 0.9551 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.716e-06/0.4851, allocations: 0.9688 kB / 0.9551 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.4851, allocations: 5.125 kB / 0.9551 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.4852, allocations: 17.27 kB / 0.9551 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.4852, allocations: 1.25 kB / 0.9551 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.944e-05/0.4853, allocations: 14.77 kB / 0.9551 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.4853, allocations: 6.312 kB / 0.9551 GB, free: 4.605 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (exhDamPos.and2.y,exhDamPos.greThr.y,$PRE.exhDamPos.greThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 6.087e-05/0.4854, allocations: 128.9 kB / 0.9553 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.4854, allocations: 10.09 kB / 0.9553 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002727/0.4857, allocations: 135.8 kB / 0.9554 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.4857, allocations: 5.109 kB / 0.9554 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.4857, allocations: 0 / 0.9554 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.4857, allocations: 1.031 kB / 0.9554 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003936/0.4861, allocations: 421.2 kB / 0.9558 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4861, allocations: 0 / 0.9558 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.998e-05/0.4862, allocations: 23.42 kB / 0.9558 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.4862, allocations: 1.344 kB / 0.9558 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.4862, allocations: 1.312 kB / 0.9558 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4863, allocations: 1.219 kB / 0.9558 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4863, allocations: 0 / 0.9558 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.4865, allocations: 224.5 kB / 0.956 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.487e-05/0.4865, allocations: 92.5 kB / 0.9561 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.4866, allocations: 6.5 kB / 0.9561 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.4867, allocations: 9.984 kB / 0.9561 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.4867, allocations: 12.8 kB / 0.9562 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.4867, allocations: 10.25 kB / 0.9562 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.564e-05/0.4868, allocations: 136.3 kB / 0.9563 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4868, allocations: 0 / 0.9563 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002275/0.4871, allocations: 21.19 kB / 0.9563 GB, free: 3.535 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (exhDamPos.greThr.y,exhDamPos.and2.y) * Number of discrete states: 1 (exhDamPos.greThr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003755/0.4874, allocations: 0.7565 MB / 0.9571 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002479/0.4877, allocations: 93.94 kB / 0.9571 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4877, allocations: 0 / 0.9571 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.4878, allocations: 48.97 kB / 0.9572 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.4881, allocations: 27.11 kB / 0.9572 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.4896, allocations: 1.773 MB / 0.9589 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.719e-05/0.4897, allocations: 0.7054 MB / 0.9596 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.614e-05/0.4898, allocations: 16.36 kB / 0.9597 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.161e-05/0.4899, allocations: 38.61 kB / 0.9597 GB, free: 484 kB / 0.7169 GB Notification: Performance of SimCode: time 2.9e-07/0.4899, allocations: 0 / 0.9597 GB, free: 484 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01717/0.507, allocations: 3.184 MB / 0.9628 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.412/6.919, allocations: 12.75 kB / 0.9628 GB, free: 14.91 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches