Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.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.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dam1.VActMin_flow|dam1.VActCooMax_flow|dam1.VActHeaMax_flow|dam1.TZon|dam1.TColSup|dam1.THotSup|dam1.uCoo|dam1.uHea|dam1.VDis_flow_Set|dam1.yCooDam|dam1.yHeaDam",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dam1.VActMin_flow|dam1.VActCooMax_flow|dam1.VActHeaMax_flow|dam1.TZon|dam1.TColSup|dam1.THotSup|dam1.uCoo|dam1.uHea|dam1.VDis_flow_Set|dam1.yCooDam|dam1.yHeaDam",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.00196/0.00196, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.442/1.442, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.544/2.544, allocations: 437 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 63.89 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9113/0.9129, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers): time 0.005243/0.9182, allocations: 3.548 MB / 1.171 GB, free: 292 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004214/0.9224, allocations: 2.223 MB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008092/0.9233, allocations: 27.88 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005759/0.9238, allocations: 154.3 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005766/0.9245, allocations: 138.7 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.9262, allocations: 0.6223 MB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001741/0.9279, allocations: 1.322 MB / 1.175 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.929, allocations: 0.6349 MB / 1.176 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007677/0.9298, allocations: 474.3 kB / 1.176 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000664/0.9304, allocations: 497.6 kB / 1.177 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002691/0.9307, allocations: 147.9 kB / 1.177 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002551/0.931, allocations: 155.9 kB / 1.177 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002186/0.9312, allocations: 251.2 kB / 1.177 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005805/0.9318, allocations: 0.5286 MB / 1.178 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00155/0.9334, allocations: 1.703 MB / 1.179 GB, free: 7.395 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.9334, allocations: 0 / 1.179 GB, free: 7.395 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9334, allocations: 3.938 kB / 1.179 GB, free: 7.391 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.401e-05/0.9334, allocations: 0 / 1.179 GB, free: 7.391 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.002908/0.9364, allocations: 1.344 MB / 1.181 GB, free: 5.977 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.9364, allocations: 8.922 kB / 1.181 GB, free: 5.969 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002352/0.9366, allocations: 119.5 kB / 1.181 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/0.9384, allocations: 0.7431 MB / 1.182 GB, free: 5.066 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.239e-05/0.9385, allocations: 78.31 kB / 1.182 GB, free: 4.988 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.9386, allocations: 92.38 kB / 1.182 GB, free: 4.898 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.9403, allocations: 0.8421 MB / 1.183 GB, free: 4.043 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.9404, allocations: 7.938 kB / 1.183 GB, free: 4.035 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.409e-05/0.9405, allocations: 36 kB / 1.183 GB, free: 4 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.836e-05/0.9405, allocations: 20 kB / 1.183 GB, free: 3.98 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.9417, allocations: 0.5973 MB / 1.183 GB, free: 3.383 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004186/0.9459, allocations: 2.669 MB / 1.186 GB, free: 0.6133 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.9471, allocations: 0.5793 MB / 1.186 GB, free: 12 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004756/0.9476, allocations: 228.3 kB / 1.187 GB, free: 15.79 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-05/0.9477, allocations: 16.28 kB / 1.187 GB, free: 15.77 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005843/0.9483, allocations: 286.8 kB / 1.187 GB, free: 15.48 MB / 0.92 GB Notification: Performance of pre-optimization done (n=56): time 2.916e-06/0.9483, allocations: 0 / 1.187 GB, free: 15.48 MB / 0.92 GB Notification: Performance of matching and sorting (n=56): time 0.001446/0.9497, allocations: 0.5919 MB / 1.187 GB, free: 14.89 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.9498, allocations: 59.97 kB / 1.188 GB, free: 14.82 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007071/0.9505, allocations: 0.5419 MB / 1.188 GB, free: 14.27 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.925e-05/0.9506, allocations: 49.69 kB / 1.188 GB, free: 14.21 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003848/0.951, allocations: 466.9 kB / 1.189 GB, free: 13.75 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.9512, allocations: 173.5 kB / 1.189 GB, free: 13.57 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002968/0.9515, allocations: 166.5 kB / 1.189 GB, free: 13.41 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.9516, allocations: 386.6 kB / 1.189 GB, free: 13.02 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005484/0.9522, allocations: 228.7 kB / 1.189 GB, free: 12.79 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007294/0.9529, allocations: 464.4 kB / 1.19 GB, free: 12.24 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.954, allocations: 0.6704 MB / 1.191 GB, free: 11.46 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.9541, allocations: 4 kB / 1.191 GB, free: 11.45 MB / 0.92 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001579/0.9556, allocations: 0.8141 MB / 1.191 GB, free: 10.62 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.236e-05/0.9557, allocations: 71.48 kB / 1.191 GB, free: 10.54 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.9557, allocations: 12 kB / 1.191 GB, free: 10.52 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/0.9558, allocations: 12 kB / 1.191 GB, free: 10.51 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005172/0.9563, allocations: 127.8 kB / 1.192 GB, free: 10.39 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.382e-05/0.9563, allocations: 19.92 kB / 1.192 GB, free: 10.37 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007034/0.957, allocations: 131.1 kB / 1.192 GB, free: 10.24 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.816e-05/0.9571, allocations: 39.98 kB / 1.192 GB, free: 10.2 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006801/0.9578, allocations: 394 kB / 1.192 GB, free: 9.809 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005977/0.9584, allocations: 452.4 kB / 1.193 GB, free: 9.266 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001012/0.9594, allocations: 0.6612 MB / 1.193 GB, free: 8.492 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.03e-06/0.9595, allocations: 0 / 1.193 GB, free: 8.492 MB / 0.92 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.00141/0.9609, allocations: 0.7986 MB / 1.194 GB, free: 7.676 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.483e-05/0.9609, allocations: 63.48 kB / 1.194 GB, free: 7.602 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.9609, allocations: 12 kB / 1.194 GB, free: 7.59 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.961, allocations: 15.94 kB / 1.194 GB, free: 7.574 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004402/0.9614, allocations: 127.8 kB / 1.194 GB, free: 7.449 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.707e-05/0.9614, allocations: 19.92 kB / 1.194 GB, free: 7.43 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005909/0.962, allocations: 107.4 kB / 1.194 GB, free: 7.324 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.906e-05/0.9621, allocations: 43.98 kB / 1.194 GB, free: 7.281 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 23 ($PRE.dam1.greThr.greHys.y,$PRE.dam1.greThr3.greHys.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,dam1.greThr3.greHys.y,dam1.greThr.greHys.y,heaAhu.y,$PRE.heaAhu.y,cooAhu.y,$PRE.cooAhu.y,dam1.or1.y,dam1.and1.y,dam1.not1.y,dam1.greThr2.greHys.y,$PRE.dam1.greThr2.greHys.y,dam1.greThr1.greHys.y,$PRE.dam1.greThr1.greHys.y,dam1.and4.y,$whenCondition5,dam1.conHeaDam.cheYMinMax.y,dam1.conCooDam.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 2 * 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.0002145/0.9623, allocations: 245.7 kB / 1.195 GB, free: 7.035 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.919e-05/0.9624, allocations: 67.16 kB / 1.195 GB, free: 6.969 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.9636, allocations: 0.5059 MB / 1.195 GB, free: 6.453 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.9636, allocations: 0 / 1.195 GB, free: 6.453 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.9636, allocations: 0 / 1.195 GB, free: 6.453 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/0.9638, allocations: 144.1 kB / 1.195 GB, free: 6.293 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.598e-05/0.9639, allocations: 23.94 kB / 1.195 GB, free: 6.27 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.9641, allocations: 23.91 kB / 1.195 GB, free: 6.246 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.9642, allocations: 48.5 kB / 1.195 GB, free: 6.199 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001159/0.9654, allocations: 0.5418 MB / 1.196 GB, free: 5.648 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001439/0.9668, allocations: 0.8607 MB / 1.197 GB, free: 4.773 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000479/0.9673, allocations: 224.4 kB / 1.197 GB, free: 4.551 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004104/0.9678, allocations: 354.8 kB / 1.197 GB, free: 4.207 MB / 0.92 GB Notification: Performance of Backend: time 6.02e-07/0.9678, allocations: 4 kB / 1.197 GB, free: 4.203 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002144/0.9699, allocations: 1.087 MB / 1.198 GB, free: 3.062 MB / 0.92 GB Notification: Performance of SimCode: time 0.002504/0.9724, allocations: 1.712 MB / 1.2 GB, free: 1.301 MB / 0.92 GB Notification: Performance of Templates: time 0.02016/0.9926, allocations: 10.6 MB / 1.21 GB, free: 6.824 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Dampers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches