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.005325/0.005325, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.001206/0.001206, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.348/2.348, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 66.19 kB / 0.9504 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2245, allocations: 140.4 MB / 1.088 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper): time 0.00204/0.2266, allocations: 0.9424 MB / 1.088 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.2277, allocations: 0.8935 MB / 1.089 GB, free: 168 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.2278, allocations: 4 kB / 1.089 GB, free: 164 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.558e-05/0.2279, allocations: 11.81 kB / 1.089 GB, free: 152 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.053e-05/0.228, allocations: 23.78 kB / 1.089 GB, free: 128 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.2282, allocations: 51.95 kB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.2284, allocations: 151.5 kB / 1.09 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.2285, allocations: 73.7 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.938e-05/0.2286, allocations: 51.8 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.433e-05/0.2287, allocations: 63.69 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.113e-05/0.2288, allocations: 16 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.277e-05/0.2288, allocations: 16 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.656e-05/0.2288, allocations: 39.84 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.125e-05/0.2289, allocations: 63.67 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.2291, allocations: 206 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2291, allocations: 0 / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2291, allocations: 0 / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.2291, allocations: 0 / 1.09 GB, free: 15.41 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.0005866/0.2297, allocations: 444 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.2298, allocations: 12.03 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.468e-05/0.2298, allocations: 46.73 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/0.2299, allocations: 20.75 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003187/0.2302, allocations: 216.5 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.2302, allocations: 8.609 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.2303, allocations: 16.38 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.2306, allocations: 131.8 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.2306, allocations: 0 / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.2306, allocations: 8 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2306, allocations: 4 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.2309, allocations: 108.3 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007014/0.2316, allocations: 468.1 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.2318, allocations: 94.53 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.232, allocations: 36.84 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.232, allocations: 3.938 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.232, allocations: 34.56 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.232, allocations: 0 / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004502/0.2325, allocations: 137.7 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.2325, allocations: 55.41 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.2327, allocations: 187.2 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.2328, allocations: 29.7 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.826e-05/0.2328, allocations: 115.9 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.2329, allocations: 19.8 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/0.2329, allocations: 29.62 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.2331, allocations: 322.8 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.2332, allocations: 55.84 kB / 1.093 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.2333, allocations: 58.48 kB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002328/0.2336, allocations: 77.67 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.2336, allocations: 7.969 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00031/0.2339, allocations: 125.4 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.2339, allocations: 4 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.2339, allocations: 0 / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.234, allocations: 4 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.2341, allocations: 19.98 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.2341, allocations: 4.062 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.2342, allocations: 19.86 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.2342, allocations: 8 kB / 1.093 GB, free: 12.29 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 0.0001042/0.2343, allocations: 125.8 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.2344, allocations: 15.81 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003404/0.2347, allocations: 131.1 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.2348, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2348, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.2348, allocations: 7.984 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005434/0.2353, allocations: 423.2 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.2353, allocations: 0 / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.088e-05/0.2354, allocations: 15.98 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.2354, allocations: 0 / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.2355, allocations: 4 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.2355, allocations: 3.984 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2355, allocations: 4.031 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.2358, allocations: 216.1 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.978e-05/0.2358, allocations: 97.22 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.2359, allocations: 0 / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.236, allocations: 15.98 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.2361, allocations: 15.92 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.2361, allocations: 7.938 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001093/0.2362, allocations: 140.3 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/0.2362, allocations: 0 / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002588/0.2365, allocations: 23.91 kB / 1.094 GB, free: 10.95 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.000571/0.237, allocations: 0.7561 MB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002972/0.2373, allocations: 83.89 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2374, allocations: 3.938 kB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.2375, allocations: 44.09 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.2379, allocations: 35.94 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.2399, allocations: 1.779 MB / 1.097 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.2401, allocations: 0.7084 MB / 1.097 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.661e-05/0.2402, allocations: 16.83 kB / 1.097 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.618e-05/0.2403, allocations: 39.42 kB / 1.097 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of SimCode: time 3.01e-07/0.2403, allocations: 3.938 kB / 1.097 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/0.2589, allocations: 3.25 MB / 1.101 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.474/7.733, allocations: 10.8 kB / 1.101 GB, free: 4.297 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 & 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