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.001142/0.001142, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001413/0.001413, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.429/1.429, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.756/2.756, allocations: 437 MB / 0.7099 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 71.89 kB / 0.8686 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7141/0.7154, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.00233/0.7178, allocations: 0.9255 MB / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.7194, allocations: 1.175 MB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.643e-05/0.7195, allocations: 4 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.796e-05/0.7195, allocations: 3.938 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.7197, allocations: 11.88 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004878/0.7202, allocations: 134.5 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.7203, allocations: 135.7 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.7205, allocations: 45.55 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.7206, allocations: 63.77 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.88e-05/0.7207, allocations: 55.75 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.131e-05/0.7207, allocations: 8 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.534e-05/0.7208, allocations: 19.98 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.219e-05/0.7209, allocations: 19.92 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.721, allocations: 59.7 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.7212, allocations: 149.5 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.7212, allocations: 4 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7213, allocations: 4 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.7213, allocations: 3.938 kB / 1.019 GB, free: 15.94 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.0007128/0.722, allocations: 444.8 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.722, allocations: 19.92 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.782e-05/0.7221, allocations: 12.75 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005107/0.7226, allocations: 232.3 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.7227, allocations: 8.375 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.7227, allocations: 12.38 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.7229, allocations: 102 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.723, allocations: 0 / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.723, allocations: 4 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.723, allocations: 0 / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002234/0.7232, allocations: 62.19 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005426/0.7238, allocations: 404.3 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.724, allocations: 66.48 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.7241, allocations: 40.95 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.7241, allocations: 4 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/0.7243, allocations: 75.38 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.7243, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004229/0.7248, allocations: 145.4 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.7248, allocations: 55.41 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.7249, allocations: 132.5 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.725, allocations: 29.7 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.222e-05/0.725, allocations: 107.9 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.7251, allocations: 27.64 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.547e-05/0.7252, allocations: 37.7 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.98e-05/0.7253, allocations: 318.8 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.7254, allocations: 51.97 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.7256, allocations: 79.39 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.7259, allocations: 133.1 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.7259, allocations: 3.938 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004243/0.7263, allocations: 191.1 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.645e-05/0.7264, allocations: 33.69 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.7264, allocations: 7.938 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.7264, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.7265, allocations: 20.08 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.7266, allocations: 8.266 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.7268, allocations: 31.97 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.7268, allocations: 11.98 kB / 1.022 GB, free: 12.82 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.0001037/0.7269, allocations: 122.4 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.7269, allocations: 7.906 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.434e-05/0.727, allocations: 16.3 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.727, allocations: 4 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.727, allocations: 0 / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.727, allocations: 3.984 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.7272, allocations: 205.5 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.7272, allocations: 0 / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.197e-05/0.7273, allocations: 11.98 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.7273, allocations: 0 / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.7273, allocations: 7.938 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.7273, allocations: 3.984 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.7273, allocations: 0 / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.7276, allocations: 132.9 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.7277, allocations: 85.11 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.7277, allocations: 3.938 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.751e-05/0.7277, allocations: 7.984 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.7278, allocations: 7.984 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.7278, allocations: 4 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.14e-05/0.7279, allocations: 103.3 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.5e-07/0.7279, allocations: 0 / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002446/0.7281, allocations: 27.91 kB / 1.023 GB, free: 11.98 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.0001564/0.7283, allocations: 111.2 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003779/0.7287, allocations: 163.3 kB / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.7287, allocations: 4.188 kB / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.7288, allocations: 43.91 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.7291, allocations: 21.47 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004252/0.7296, allocations: 224.6 kB / 1.023 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.7298, allocations: 0.7004 MB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.337e-05/0.7299, allocations: 16.42 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/0.7299, allocations: 11.44 kB / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of SimCode: time 4.31e-07/0.7299, allocations: 0 / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of Templates: time 0.004117/0.734, allocations: 1.413 MB / 1.026 GB, free: 9.262 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