Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: 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_9_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_9_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.007626/0.007626, allocations: 96.95 kB / 15.73 MB, free: 6.039 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.001334/0.001334, allocations: 200.1 kB / 16.68 MB, free: 5.969 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.352 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.5/2.5, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 66.89 kB / 0.9509 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.375, allocations: 140.4 MB / 1.088 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002409/0.3775, allocations: 0.8838 MB / 1.089 GB, free: 0.6211 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001734/0.3792, allocations: 1.149 MB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.272e-05/0.3794, allocations: 0 / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.841e-05/0.3794, allocations: 15.86 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.3796, allocations: 15.88 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005512/0.3801, allocations: 147.9 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.3803, allocations: 159.6 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.3805, allocations: 49.56 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.3806, allocations: 63.83 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.3807, allocations: 59.73 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.883e-05/0.3808, allocations: 16 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.594e-05/0.3808, allocations: 31.92 kB / 1.091 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.069e-05/0.3809, allocations: 23.92 kB / 1.091 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.112e-05/0.381, allocations: 63.72 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.3812, allocations: 171.4 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3813, allocations: 0 / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.649e-06/0.3813, allocations: 3.984 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.3813, allocations: 0 / 1.091 GB, free: 14.65 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006832/0.382, allocations: 436.7 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.382, allocations: 12.03 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.354e-05/0.3821, allocations: 16.88 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000492/0.3826, allocations: 232.3 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.3826, allocations: 12.38 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.3827, allocations: 12.38 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.3829, allocations: 93.95 kB / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.3829, allocations: 0 / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.3829, allocations: 4 kB / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.3829, allocations: 4 kB / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002237/0.3832, allocations: 63.89 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005493/0.3837, allocations: 396.5 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.3839, allocations: 62.55 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.3841, allocations: 40.95 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.3841, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000294/0.3844, allocations: 91.38 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.3844, allocations: 0 / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0004609/0.3849, allocations: 141.5 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.3849, allocations: 55.41 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.3851, allocations: 129.8 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.3851, allocations: 25.7 kB / 1.093 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.026e-05/0.3852, allocations: 116 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.3852, allocations: 19.8 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.664e-05/0.3853, allocations: 41.69 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.3854, allocations: 322.8 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.3856, allocations: 47.95 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.3858, allocations: 71.39 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003057/0.3861, allocations: 133 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3861, allocations: 0 / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004394/0.3866, allocations: 191.2 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.343e-05/0.3866, allocations: 43.41 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.3866, allocations: 3.938 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.3867, allocations: 8.094 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.3868, allocations: 15.92 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.3868, allocations: 4 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.387, allocations: 31.92 kB / 1.094 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.387, allocations: 4 kB / 1.094 GB, free: 11.55 MB / 0.8575 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.0001097/0.3872, allocations: 125.8 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/0.3872, allocations: 11.95 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.687e-05/0.3872, allocations: 16.39 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3872, allocations: 7.938 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3872, allocations: 0 / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3873, allocations: 0 / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.3874, allocations: 201.6 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3875, allocations: 0 / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.786e-05/0.3875, allocations: 11.98 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3875, allocations: 4 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.3876, allocations: 7.938 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3876, allocations: 11.88 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3876, allocations: 0 / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.3879, allocations: 133.4 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.388, allocations: 85 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.388, allocations: 3.938 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.678e-05/0.3881, allocations: 7.984 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.3881, allocations: 12 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.3881, allocations: 4 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.847e-05/0.3882, allocations: 101.5 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3882, allocations: 0 / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002473/0.3884, allocations: 27.95 kB / 1.094 GB, free: 10.7 MB / 0.8575 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.0001975/0.3887, allocations: 107.2 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004184/0.3891, allocations: 179.4 kB / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3891, allocations: 0 / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.3892, allocations: 39.92 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.3895, allocations: 17.36 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005073/0.39, allocations: 198.9 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.3904, allocations: 0.7047 MB / 1.095 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.306e-05/0.3904, allocations: 4.438 kB / 1.095 GB, free: 9.391 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.805e-05/0.3905, allocations: 11.44 kB / 1.095 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.3905, allocations: 4 kB / 1.095 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of Templates: time 0.005163/0.3956, allocations: 1.521 MB / 1.097 GB, free: 7.906 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches