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.001566/0.001566, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001851/0.001851, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.477/1.477, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.3/2.3, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 71.88 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9374/0.9389, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002132/0.9411, allocations: 0.8834 MB / 1.09 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.9425, allocations: 1.145 MB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.17e-05/0.9426, allocations: 5.156 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.902e-05/0.9426, allocations: 14.09 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.586e-05/0.9427, allocations: 20.02 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005145/0.9433, allocations: 136.2 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.9435, allocations: 164.1 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.9436, allocations: 50.22 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.9438, allocations: 56.23 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.9439, allocations: 68.09 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/0.9439, allocations: 18.16 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.829e-05/0.944, allocations: 28.38 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.052e-05/0.9441, allocations: 19.78 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.719e-05/0.9442, allocations: 63.03 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.9445, allocations: 170.9 kB / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.9445, allocations: 0 / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9445, allocations: 3.938 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.9445, allocations: 0 / 1.091 GB, free: 3.699 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.0006719/0.9452, allocations: 437.8 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.9452, allocations: 13.25 kB / 1.092 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.044e-05/0.9453, allocations: 16.59 kB / 1.092 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004411/0.9458, allocations: 227.1 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.9458, allocations: 9.812 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.9458, allocations: 17.72 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.9462, allocations: 96.17 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.9462, allocations: 4.781 kB / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.9462, allocations: 4.656 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.9462, allocations: 2.281 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002933/0.9465, allocations: 60.81 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007762/0.9473, allocations: 403.1 kB / 1.093 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.9476, allocations: 65.53 kB / 1.093 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.9477, allocations: 40.38 kB / 1.093 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.9477, allocations: 0.6875 kB / 1.093 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003629/0.9481, allocations: 87.06 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.9481, allocations: 0.9062 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005681/0.9487, allocations: 133.6 kB / 1.093 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.9488, allocations: 54.36 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.9489, allocations: 135.5 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.949, allocations: 28.52 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.9491, allocations: 109.9 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.9491, allocations: 29.3 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.9492, allocations: 37.52 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.9493, allocations: 320.2 kB / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.9495, allocations: 50.11 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.9497, allocations: 71.45 kB / 1.094 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.95, allocations: 135.9 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.9501, allocations: 0.7188 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005284/0.9506, allocations: 192.2 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.907e-05/0.9506, allocations: 34.62 kB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.9507, allocations: 5.594 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.9507, allocations: 5.672 kB / 1.094 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.9508, allocations: 18.77 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.9508, allocations: 1.531 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/0.9511, allocations: 33.64 kB / 1.094 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.9511, allocations: 7.453 kB / 1.094 GB, free: 1.473 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.0001107/0.9513, allocations: 126.2 kB / 1.094 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.091e-05/0.9513, allocations: 11.81 kB / 1.094 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.957e-05/0.9513, allocations: 15.75 kB / 1.094 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.9513, allocations: 0.875 kB / 1.094 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.9514, allocations: 0.875 kB / 1.094 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.9514, allocations: 0.7969 kB / 1.094 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.9515, allocations: 204.2 kB / 1.095 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.9516, allocations: 1.062 kB / 1.095 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.229e-05/0.9516, allocations: 17.17 kB / 1.095 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.9516, allocations: 0.9688 kB / 1.095 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.9517, allocations: 5.734 kB / 1.095 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.9517, allocations: 0 / 1.095 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.9517, allocations: 1.062 kB / 1.095 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.952, allocations: 128.6 kB / 1.095 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/0.952, allocations: 88.02 kB / 1.095 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.9521, allocations: 6.078 kB / 1.095 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.019e-05/0.9521, allocations: 5.656 kB / 1.095 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.9522, allocations: 9.688 kB / 1.095 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.9522, allocations: 7.609 kB / 1.095 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.694e-05/0.9523, allocations: 101.9 kB / 1.095 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9523, allocations: 0 / 1.095 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002589/0.9526, allocations: 25.62 kB / 1.095 GB, free: 0.8203 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.0002184/0.9528, allocations: 114.2 kB / 1.095 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004631/0.9533, allocations: 169.7 kB / 1.095 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9533, allocations: 0 / 1.095 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.9534, allocations: 42.66 kB / 1.095 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.9537, allocations: 20.83 kB / 1.095 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005152/0.9542, allocations: 231 kB / 1.095 GB, free: 424 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.9545, allocations: 0.6977 MB / 1.096 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.9545, allocations: 13.09 kB / 1.096 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.9545, allocations: 0 / 1.096 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of Templates: time 0.004779/0.9593, allocations: 1.446 MB / 1.098 GB, free: 15.57 MB / 0.8731 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/jenkins1/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