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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008101/0.0008101, allocations: 97.78 kB / 16.02 MB, free: 76 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.0009664/0.0009667, allocations: 187.3 kB / 16.92 MB, free: 6.75 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: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.526/2.526, allocations: 390.9 MB / 0.667 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003947/0.0003946, allocations: 12 kB / 0.8167 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7278/0.7282, allocations: 142.4 MB / 0.9558 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.001065/0.7293, allocations: 0.5966 MB / 0.9564 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.7306, allocations: 1.154 MB / 0.9575 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.657e-05/0.7306, allocations: 1.938 kB / 0.9575 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.071e-05/0.7307, allocations: 3.938 kB / 0.9575 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.343e-05/0.7308, allocations: 18 kB / 0.9575 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004123/0.7312, allocations: 118.5 kB / 0.9576 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.7313, allocations: 144.4 kB / 0.9578 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.7315, allocations: 41.62 kB / 0.9578 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.94e-05/0.7316, allocations: 53.52 kB / 0.9579 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.957e-05/0.7317, allocations: 47.23 kB / 0.9579 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.7317, allocations: 6.75 kB / 0.9579 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.605e-05/0.7318, allocations: 27.92 kB / 0.9579 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.104e-05/0.7318, allocations: 6.922 kB / 0.9579 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.907e-05/0.7319, allocations: 80.06 kB / 0.958 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.732, allocations: 118.1 kB / 0.9581 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.732, allocations: 0 / 0.9581 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.763e-06/0.732, allocations: 1.188 kB / 0.9581 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.732, allocations: 0 / 0.9581 GB, free: 5.879 MB / 0.7169 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.0005178/0.7326, allocations: 426.9 kB / 0.9585 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.7326, allocations: 9.438 kB / 0.9585 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.288e-05/0.7327, allocations: 16.47 kB / 0.9586 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004413/0.7331, allocations: 236.6 kB / 0.9588 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.7331, allocations: 17.72 kB / 0.9588 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.7332, allocations: 13.59 kB / 0.9588 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.7334, allocations: 102.9 kB / 0.9589 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.7334, allocations: 0 / 0.9589 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.7334, allocations: 1.125 kB / 0.9589 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.7335, allocations: 2.344 kB / 0.9589 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002218/0.7337, allocations: 78.41 kB / 0.959 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004345/0.7341, allocations: 392 kB / 0.9594 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.7343, allocations: 74.2 kB / 0.9594 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.7344, allocations: 37.12 kB / 0.9595 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.7344, allocations: 0.9062 kB / 0.9595 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002297/0.7347, allocations: 96.92 kB / 0.9596 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.7347, allocations: 1.656 kB / 0.9596 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004258/0.7351, allocations: 154.2 kB / 0.9597 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.7352, allocations: 51.41 kB / 0.9598 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.462e-05/0.7353, allocations: 131.5 kB / 0.9599 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.7353, allocations: 28.39 kB / 0.9599 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.679e-05/0.7353, allocations: 109.3 kB / 0.96 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.7354, allocations: 27.77 kB / 0.96 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.7354, allocations: 19.22 kB / 0.9601 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.177e-05/0.7355, allocations: 321.6 kB / 0.9604 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.7356, allocations: 52.83 kB / 0.9604 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.7358, allocations: 75.03 kB / 0.9605 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/0.736, allocations: 143.9 kB / 0.9606 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.736, allocations: 0 / 0.9606 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000404/0.7365, allocations: 205.7 kB / 0.9608 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/0.7365, allocations: 33.95 kB / 0.9609 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.7365, allocations: 3.938 kB / 0.9609 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.7365, allocations: 2.75 kB / 0.9609 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.7366, allocations: 20.45 kB / 0.9609 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.7367, allocations: 2.75 kB / 0.9609 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.7369, allocations: 54.09 kB / 0.9609 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.7369, allocations: 5.5 kB / 0.9609 GB, free: 3.398 MB / 0.7169 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 7.541e-05/0.737, allocations: 128.7 kB / 0.9611 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/0.737, allocations: 12.02 kB / 0.9611 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.201e-05/0.737, allocations: 17.62 kB / 0.9611 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.737, allocations: 1.375 kB / 0.9611 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.7371, allocations: 0 / 0.9611 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.7371, allocations: 0 / 0.9611 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.7372, allocations: 198.2 kB / 0.9613 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.7372, allocations: 1.375 kB / 0.9613 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.582e-05/0.7373, allocations: 18.98 kB / 0.9613 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.7373, allocations: 1.375 kB / 0.9613 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.7373, allocations: 3.938 kB / 0.9613 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.7373, allocations: 1.375 kB / 0.9613 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.7373, allocations: 0 / 0.9613 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.7376, allocations: 146.5 kB / 0.9614 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.782e-05/0.7376, allocations: 83.7 kB / 0.9615 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.7376, allocations: 11.94 kB / 0.9615 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.609e-05/0.7377, allocations: 6.656 kB / 0.9615 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.7377, allocations: 6.703 kB / 0.9616 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.7378, allocations: 3.062 kB / 0.9616 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.353e-05/0.7378, allocations: 98.95 kB / 0.9616 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7378, allocations: 7.938 kB / 0.9617 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002315/0.738, allocations: 29.2 kB / 0.9617 GB, free: 2.688 MB / 0.7169 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.0001414/0.7382, allocations: 105 kB / 0.9618 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003715/0.7386, allocations: 172 kB / 0.9619 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7386, allocations: 4.062 kB / 0.962 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.7387, allocations: 46.22 kB / 0.962 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.739, allocations: 18.81 kB / 0.962 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003855/0.7394, allocations: 262.7 kB / 0.9623 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.7395, allocations: 0.698 MB / 0.9629 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.7395, allocations: 12.41 kB / 0.963 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7395, allocations: 5.031 kB / 0.963 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.003183/0.7427, allocations: 1.433 MB / 0.9644 GB, free: 0.7734 MB / 0.7169 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