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.006182/0.006182, allocations: 103.9 kB / 15.74 MB, free: 5.953 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.001535/0.001535, allocations: 188.9 kB / 16.67 MB, free: 5.883 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.293/1.293, allocations: 222.9 MB / 240.4 MB, free: 4.16 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.27/2.27, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 63 kB / 0.9504 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2241, allocations: 140.4 MB / 1.088 GB, free: 2.109 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper): time 0.001885/0.2261, allocations: 0.9459 MB / 1.088 GB, free: 1.16 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008975/0.227, allocations: 0.8974 MB / 1.089 GB, free: 256 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.601e-05/0.2271, allocations: 3.938 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.583e-05/0.2271, allocations: 11.86 kB / 1.089 GB, free: 240 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.945e-05/0.2272, allocations: 19.75 kB / 1.089 GB, free: 220 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.2274, allocations: 59.92 kB / 1.089 GB, free: 160 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.2276, allocations: 147.6 kB / 1.09 GB, free: 12 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.2277, allocations: 65.72 kB / 1.09 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.93e-05/0.2278, allocations: 55.78 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.712e-05/0.2279, allocations: 59.75 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.2279, allocations: 16 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.14e-05/0.2279, allocations: 19.94 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.266e-05/0.228, allocations: 31.86 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.717e-05/0.228, allocations: 67.66 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.2282, allocations: 206.1 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2282, allocations: 4 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2283, allocations: 8 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.2283, allocations: 0 / 1.09 GB, free: 15.49 MB / 0.8575 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.0005617/0.2288, allocations: 436 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.626e-05/0.2289, allocations: 8.031 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.127e-05/0.229, allocations: 50.67 kB / 1.091 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.926e-05/0.229, allocations: 16.75 kB / 1.091 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.2293, allocations: 216.6 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.2293, allocations: 8.609 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.2294, allocations: 16.31 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.2296, allocations: 135.8 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.2297, allocations: 0 / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.2297, allocations: 4 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.2297, allocations: 4 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00028/0.23, allocations: 108.4 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006586/0.2306, allocations: 476.1 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.2309, allocations: 86.44 kB / 1.092 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.231, allocations: 40.89 kB / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.231, allocations: 4 kB / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.231, allocations: 38.55 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.231, allocations: 0 / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004295/0.2315, allocations: 137.5 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.2315, allocations: 55.41 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.2317, allocations: 191.2 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.2317, allocations: 29.7 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.737e-05/0.2318, allocations: 123.8 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.2318, allocations: 19.73 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/0.2319, allocations: 29.62 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.501e-05/0.232, allocations: 318.8 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.2321, allocations: 43.97 kB / 1.093 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.2322, allocations: 62.55 kB / 1.093 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/0.2325, allocations: 81.61 kB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2325, allocations: 3.938 kB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002847/0.2328, allocations: 121.5 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.2328, allocations: 12.06 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.2328, allocations: 0 / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.2328, allocations: 0 / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.2329, allocations: 15.98 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.233, allocations: 4 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.947e-05/0.2331, allocations: 15.83 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.2331, allocations: 11.94 kB / 1.093 GB, free: 12.38 MB / 0.8575 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 8.826e-05/0.2332, allocations: 125.8 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.2332, allocations: 15.81 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003092/0.2335, allocations: 119 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.2336, allocations: 7.984 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2336, allocations: 4.281 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2336, allocations: 3.984 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005137/0.2341, allocations: 423.2 kB / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2341, allocations: 7.938 kB / 1.094 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.719e-05/0.2342, allocations: 15.92 kB / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2342, allocations: 4 kB / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.2342, allocations: 4 kB / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.2342, allocations: 0 / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2342, allocations: 0 / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/0.2345, allocations: 224.1 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.565e-05/0.2346, allocations: 88.95 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.2346, allocations: 8 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.2348, allocations: 7.984 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.2348, allocations: 15.98 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.2348, allocations: 3.938 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001003/0.2349, allocations: 144.3 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.194e-06/0.2349, allocations: 0 / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002447/0.2352, allocations: 27.84 kB / 1.094 GB, free: 11.04 MB / 0.8575 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.0005459/0.2357, allocations: 0.7483 MB / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000281/0.236, allocations: 88.52 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.236, allocations: 0 / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.2362, allocations: 43.91 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.2366, allocations: 45.08 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.2385, allocations: 1.775 MB / 1.097 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.2387, allocations: 0.7123 MB / 1.097 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.806e-05/0.2388, allocations: 12.64 kB / 1.097 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.814e-05/0.2389, allocations: 39.42 kB / 1.097 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.2389, allocations: 4 kB / 1.097 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.264, allocations: 3.246 MB / 1.101 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.053/7.317, allocations: 21.16 kB / 1.101 GB, free: 4.375 MB / 0.8575 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