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.001772/0.001772, allocations: 108 kB / 15.61 MB, free: 152 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.001658/0.001658, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.376/1.376, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.304/2.304, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.89 kB / 0.8127 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6018/0.6031, allocations: 140.4 MB / 0.9498 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper): time 0.001936/0.6051, allocations: 0.9238 MB / 0.9507 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000771/0.6059, allocations: 0.895 MB / 0.9516 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.101e-05/0.606, allocations: 6.375 kB / 0.9516 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.684e-05/0.606, allocations: 11.86 kB / 0.9516 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.528e-05/0.6061, allocations: 21.25 kB / 0.9516 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.6062, allocations: 62.83 kB / 0.9517 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.6064, allocations: 143.7 kB / 0.9518 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.6066, allocations: 65.14 kB / 0.9519 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.266e-05/0.6066, allocations: 64.77 kB / 0.9519 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.284e-05/0.6067, allocations: 54.95 kB / 0.952 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.6067, allocations: 19.91 kB / 0.952 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.505e-05/0.6068, allocations: 20.81 kB / 0.952 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.785e-05/0.6068, allocations: 35.62 kB / 0.9521 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.163e-05/0.6068, allocations: 65.11 kB / 0.9521 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.607, allocations: 199.2 kB / 0.9523 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.607, allocations: 1.219 kB / 0.9523 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.253e-06/0.607, allocations: 0 / 0.9523 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.607, allocations: 0 / 0.9523 GB, free: 7.125 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.0004856/0.6075, allocations: 452.7 kB / 0.9527 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.6076, allocations: 9.531 kB / 0.9528 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.604e-05/0.6076, allocations: 42.7 kB / 0.9528 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.6076, allocations: 16.78 kB / 0.9528 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.6079, allocations: 225.9 kB / 0.953 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.6079, allocations: 9.953 kB / 0.953 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.6079, allocations: 12.84 kB / 0.953 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.6082, allocations: 132.1 kB / 0.9532 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.6082, allocations: 4 kB / 0.9532 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.6082, allocations: 5.25 kB / 0.9532 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.6082, allocations: 3.031 kB / 0.9532 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002533/0.6085, allocations: 110.8 kB / 0.9533 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005472/0.609, allocations: 481.4 kB / 0.9538 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.6092, allocations: 81.27 kB / 0.9538 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.6093, allocations: 40.16 kB / 0.9539 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.6094, allocations: 5.016 kB / 0.9539 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.6094, allocations: 35.47 kB / 0.9539 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.6094, allocations: 4.938 kB / 0.9539 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003888/0.6098, allocations: 141.2 kB / 0.954 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.914e-05/0.6098, allocations: 51.41 kB / 0.9541 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.61, allocations: 192.6 kB / 0.9543 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.61, allocations: 27.02 kB / 0.9543 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.283e-05/0.61, allocations: 118.9 kB / 0.9544 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.6101, allocations: 26.34 kB / 0.9544 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/0.6101, allocations: 25.33 kB / 0.9545 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.895e-05/0.6102, allocations: 325.3 kB / 0.9548 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.6103, allocations: 34.78 kB / 0.9548 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.6104, allocations: 69.11 kB / 0.9549 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.6106, allocations: 78.75 kB / 0.955 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.6106, allocations: 3.938 kB / 0.955 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002664/0.6109, allocations: 131 kB / 0.9551 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.6109, allocations: 5.625 kB / 0.9551 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.6109, allocations: 0 / 0.9551 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.6109, allocations: 5.031 kB / 0.9551 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.611, allocations: 20.77 kB / 0.9551 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.6111, allocations: 1.312 kB / 0.9551 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.537e-05/0.6112, allocations: 19.08 kB / 0.9551 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.6112, allocations: 2.406 kB / 0.9551 GB, free: 4.617 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 7.064e-05/0.6112, allocations: 124.7 kB / 0.9552 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.6113, allocations: 9.625 kB / 0.9553 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002949/0.6116, allocations: 132.2 kB / 0.9554 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.6116, allocations: 1.094 kB / 0.9554 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.6116, allocations: 0 / 0.9554 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.6116, allocations: 1.281 kB / 0.9554 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004265/0.612, allocations: 428.6 kB / 0.9558 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.6121, allocations: 1.219 kB / 0.9558 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.395e-05/0.6121, allocations: 23.95 kB / 0.9558 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.6122, allocations: 0 / 0.9558 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.6122, allocations: 1.25 kB / 0.9558 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.6122, allocations: 0.8438 kB / 0.9558 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6122, allocations: 1 kB / 0.9558 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.6124, allocations: 224.6 kB / 0.956 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.819e-05/0.6125, allocations: 92.23 kB / 0.9561 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.6125, allocations: 2.312 kB / 0.9561 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.6126, allocations: 13.73 kB / 0.9561 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.6127, allocations: 17.69 kB / 0.9562 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.6127, allocations: 6.406 kB / 0.9562 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.422e-05/0.6128, allocations: 134.7 kB / 0.9563 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6128, allocations: 0 / 0.9563 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000235/0.613, allocations: 21.66 kB / 0.9563 GB, free: 3.551 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.0004365/0.6135, allocations: 0.7566 MB / 0.9571 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002762/0.6138, allocations: 93.31 kB / 0.9571 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.6138, allocations: 0 / 0.9571 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.6139, allocations: 46.12 kB / 0.9572 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.6142, allocations: 32.98 kB / 0.9572 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.6159, allocations: 1.775 MB / 0.9589 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.616, allocations: 0.7037 MB / 0.9596 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.121e-05/0.6161, allocations: 17.23 kB / 0.9597 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.642e-05/0.6162, allocations: 38.98 kB / 0.9597 GB, free: 500 kB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6162, allocations: 3.938 kB / 0.9597 GB, free: 496 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8618/1.478, allocations: 3.174 MB / 0.9628 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.049/9.527, allocations: 15.88 kB / 0.9628 GB, free: 14.92 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 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.mat","/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