Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFan.uSupFan_actual|retFan.yRetFan|retFan.u1SupFan|retFan.y1ExhDam",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFan.uSupFan_actual|retFan.yRetFan|retFan.u1SupFan|retFan.y1ExhDam",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, 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.001255/0.001254, allocations: 197.1 kB / 16.54 MB, free: 6.672 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.436/1.436, 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 10.1.1-maint.10.0.x/package.mo): time 2.724/2.724, allocations: 437 MB / 0.7103 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 63.91 kB / 0.8693 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7045/0.706, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002692/0.7087, allocations: 0.8764 MB / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001863/0.7106, allocations: 1.163 MB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.7107, allocations: 4 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.575e-05/0.7108, allocations: 7.875 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.924e-05/0.7109, allocations: 15.8 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006014/0.7115, allocations: 141.7 kB / 1.02 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002816/0.7118, allocations: 159.7 kB / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.712, allocations: 45.56 kB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.7122, allocations: 67.77 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.7123, allocations: 63.73 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.98e-05/0.7123, allocations: 12 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.511e-05/0.7124, allocations: 28 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.35e-05/0.7125, allocations: 19.92 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.47e-05/0.7126, allocations: 63.72 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.7128, allocations: 169.5 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.7128, allocations: 4 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7129, allocations: 0 / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.7129, allocations: 0 / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007511/0.7136, allocations: 436.8 kB / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.7137, allocations: 15.98 kB / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.931e-05/0.7137, allocations: 20.69 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004793/0.7142, allocations: 224.4 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.7143, allocations: 20.3 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.7143, allocations: 12.38 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.7146, allocations: 91.52 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.7146, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.7146, allocations: 4 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.7146, allocations: 4 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002486/0.7149, allocations: 63.94 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000545/0.7154, allocations: 404.3 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.7156, allocations: 66.48 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.7158, allocations: 40.95 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.7158, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003769/0.7162, allocations: 79.28 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.7162, allocations: 4 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005358/0.7168, allocations: 145.4 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.7168, allocations: 51.41 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.717, allocations: 135.6 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.717, allocations: 29.7 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.991e-05/0.7171, allocations: 103.9 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.7171, allocations: 23.66 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.367e-05/0.7172, allocations: 45.69 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.7173, allocations: 318.8 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.7175, allocations: 47.95 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.7177, allocations: 71.39 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.718, allocations: 133 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.718, allocations: 0 / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004567/0.7185, allocations: 191.2 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.395e-05/0.7185, allocations: 49.72 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.7185, allocations: 3.938 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.7186, allocations: 0 / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.7187, allocations: 19.98 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.7187, allocations: 7.938 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.7189, allocations: 31.91 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.7189, allocations: 4 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,fanStatus.y,$PRE.fanStatus.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): 9 * 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 0.0001104/0.7191, allocations: 129.8 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.752e-05/0.7191, allocations: 7.906 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.921e-05/0.7191, allocations: 12.31 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.7191, allocations: 0 / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.7191, allocations: 4 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.7192, allocations: 3.984 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.7193, allocations: 205.5 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.7193, allocations: 0 / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.613e-05/0.7194, allocations: 11.98 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.7195, allocations: 4 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.7195, allocations: 7.938 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.7195, allocations: 0 / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7195, allocations: 0 / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.7198, allocations: 133 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.768e-05/0.7199, allocations: 81.02 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.7199, allocations: 3.938 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.751e-05/0.72, allocations: 11.98 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.72, allocations: 8 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.7201, allocations: 7.984 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.842e-05/0.7201, allocations: 96.11 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7201, allocations: 0 / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002341/0.7204, allocations: 31.91 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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.0001649/0.7205, allocations: 103.2 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004039/0.721, allocations: 175.2 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.721, allocations: 0 / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.7211, allocations: 43.91 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.7214, allocations: 21.83 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004358/0.7218, allocations: 195.2 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.7221, allocations: 0.6963 MB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.827e-05/0.7222, allocations: 16.42 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.7222, allocations: 15.42 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of SimCode: time 1.543e-06/0.7222, allocations: 0 / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of Templates: time 0.00474/0.7269, allocations: 1.525 MB / 1.026 GB, free: 8.914 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches