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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001396/0.001396, allocations: 114.5 kB / 16.37 MB, free: 6.012 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.001439/0.001439, allocations: 193.4 kB / 17.31 MB, free: 5.613 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.495/2.495, allocations: 437.1 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001338, allocations: 61.17 kB / 0.8708 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3655, allocations: 151.6 MB / 1.019 GB, free: 9.801 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.003698/0.3693, allocations: 0.8776 MB / 1.02 GB, free: 8.918 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002599/0.3719, allocations: 1.165 MB / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.677e-05/0.372, allocations: 0 / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 6.239e-05/0.3721, allocations: 11.86 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.3723, allocations: 15.86 kB / 1.021 GB, free: 7.711 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008348/0.3731, allocations: 150.8 kB / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003386/0.3735, allocations: 167.6 kB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002111/0.3737, allocations: 49.55 kB / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.3739, allocations: 55.89 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.374, allocations: 67.73 kB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.614e-05/0.3741, allocations: 16 kB / 1.021 GB, free: 7.211 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.3742, allocations: 31.92 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.71e-05/0.3743, allocations: 19.92 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.3745, allocations: 67.72 kB / 1.021 GB, free: 7.094 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003432/0.3748, allocations: 163.4 kB / 1.022 GB, free: 6.934 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.3748, allocations: 4 kB / 1.022 GB, free: 6.93 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.354e-06/0.3749, allocations: 0 / 1.022 GB, free: 6.93 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.3749, allocations: 4 kB / 1.022 GB, free: 6.926 MB / 0.795 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.0009384/0.3758, allocations: 440.8 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.3759, allocations: 12.88 kB / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.277e-05/0.376, allocations: 16.75 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007152/0.3767, allocations: 240.2 kB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.3768, allocations: 8.375 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.87e-05/0.3768, allocations: 12.38 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003968/0.3772, allocations: 99.67 kB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.3773, allocations: 0 / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.3773, allocations: 8 kB / 1.022 GB, free: 6.012 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3773, allocations: 0 / 1.022 GB, free: 6.012 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003992/0.3777, allocations: 67.89 kB / 1.023 GB, free: 5.945 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008975/0.3787, allocations: 400.3 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000304/0.379, allocations: 62.55 kB / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.3792, allocations: 40.95 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.3792, allocations: 0 / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003746/0.3796, allocations: 83.36 kB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 6.702e-06/0.3796, allocations: 0 / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.0007887/0.3804, allocations: 141.4 kB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.48e-05/0.3805, allocations: 55.41 kB / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.3807, allocations: 132.2 kB / 1.023 GB, free: 4.949 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.727e-05/0.3807, allocations: 25.7 kB / 1.023 GB, free: 4.918 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.3809, allocations: 111.9 kB / 1.024 GB, free: 4.805 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.3809, allocations: 23.7 kB / 1.024 GB, free: 4.781 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.3811, allocations: 33.7 kB / 1.024 GB, free: 4.742 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.3813, allocations: 326.8 kB / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002623/0.3815, allocations: 39.97 kB / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/0.3819, allocations: 87.27 kB / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004777/0.3824, allocations: 129 kB / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3824, allocations: 0 / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0008614/0.3833, allocations: 191.2 kB / 1.024 GB, free: 3.934 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.989e-05/0.3833, allocations: 33.7 kB / 1.024 GB, free: 3.895 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.3834, allocations: 3.938 kB / 1.024 GB, free: 3.891 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/0.3834, allocations: 8.094 kB / 1.024 GB, free: 3.883 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.3836, allocations: 19.92 kB / 1.024 GB, free: 3.863 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.3836, allocations: 0 / 1.024 GB, free: 3.863 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003827/0.384, allocations: 43.8 kB / 1.024 GB, free: 3.82 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.56e-05/0.3841, allocations: 11.94 kB / 1.024 GB, free: 3.809 MB / 0.795 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.0001752/0.3843, allocations: 117.8 kB / 1.025 GB, free: 3.684 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.3843, allocations: 8 kB / 1.025 GB, free: 3.676 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.24e-05/0.3844, allocations: 20.3 kB / 1.025 GB, free: 3.656 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.3844, allocations: 0 / 1.025 GB, free: 3.656 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.3844, allocations: 0 / 1.025 GB, free: 3.656 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3844, allocations: 0 / 1.025 GB, free: 3.656 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002853/0.3847, allocations: 201.5 kB / 1.025 GB, free: 3.41 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3848, allocations: 0 / 1.025 GB, free: 3.41 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.3849, allocations: 15.94 kB / 1.025 GB, free: 3.395 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.3849, allocations: 0 / 1.025 GB, free: 3.395 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.385, allocations: 11.91 kB / 1.025 GB, free: 3.383 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.385, allocations: 0 / 1.025 GB, free: 3.383 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.385, allocations: 8 kB / 1.025 GB, free: 3.375 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005021/0.3855, allocations: 121 kB / 1.025 GB, free: 3.238 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.118e-05/0.3856, allocations: 93.09 kB / 1.025 GB, free: 3.129 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.3857, allocations: 11.88 kB / 1.025 GB, free: 3.117 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.3858, allocations: 4 kB / 1.025 GB, free: 3.113 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.616e-05/0.3859, allocations: 11.98 kB / 1.025 GB, free: 3.102 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.3859, allocations: 0 / 1.025 GB, free: 3.102 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001126/0.386, allocations: 99.27 kB / 1.025 GB, free: 3.004 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.31e-07/0.386, allocations: 0 / 1.025 GB, free: 3.004 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004295/0.3865, allocations: 31.94 kB / 1.025 GB, free: 2.973 MB / 0.795 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.0002624/0.3867, allocations: 107.2 kB / 1.025 GB, free: 2.859 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0006922/0.3875, allocations: 171.3 kB / 1.025 GB, free: 2.68 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.3875, allocations: 4 kB / 1.025 GB, free: 2.676 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.3877, allocations: 35.97 kB / 1.025 GB, free: 2.641 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.3882, allocations: 20.77 kB / 1.025 GB, free: 2.621 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006954/0.3889, allocations: 187 kB / 1.026 GB, free: 2.41 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004383/0.3893, allocations: 0.7003 MB / 1.026 GB, free: 1.684 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 9.327e-05/0.3894, allocations: 8.422 kB / 1.026 GB, free: 1.676 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.267e-05/0.3895, allocations: 11.44 kB / 1.026 GB, free: 1.664 MB / 0.795 GB Notification: Performance of SimCode: time 7.01e-07/0.3895, allocations: 4 kB / 1.026 GB, free: 1.66 MB / 0.795 GB Notification: Performance of Templates: time 0.008096/0.3976, allocations: 1.528 MB / 1.028 GB, free: 192 kB / 0.795 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 -s cvode -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/jenkins1/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