Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.DualDuctMixConInletSensor.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.VColDucDis_flow_Set|dam1.VHotDucDis_flow_Set|dam1.VDis_flow_Set|dam1.yCooDam|dam1.yHeaDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.VColDucDis_flow_Set|dam1.VHotDucDis_flow_Set|dam1.VDis_flow_Set|dam1.yCooDam|dam1.yHeaDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001685/0.001686, allocations: 107.9 kB / 16.41 MB, free: 6.465 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.001817/0.001817, allocations: 192.3 kB / 17.35 MB, free: 5.711 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.427/1.427, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.908/2.908, allocations: 472.7 MB / 0.746 GB, free: 476 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001613, allocations: 64.12 kB / 1.07 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8468/0.8484, allocations: 159.9 MB / 1.226 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers): time 0.005539/0.854, allocations: 3.578 MB / 1.23 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004143/0.8582, allocations: 2.242 MB / 1.232 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.8592, allocations: 23.94 kB / 1.232 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006672/0.8599, allocations: 166.2 kB / 1.232 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0007664/0.8608, allocations: 158.5 kB / 1.232 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00182/0.8626, allocations: 0.642 MB / 1.233 GB, free: 6.824 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002204/0.8648, allocations: 1.392 MB / 1.234 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/0.8663, allocations: 0.7491 MB / 1.235 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009213/0.8672, allocations: 0.5099 MB / 1.236 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008754/0.8681, allocations: 0.5325 MB / 1.236 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0004737/0.8686, allocations: 152 kB / 1.236 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004815/0.8691, allocations: 164 kB / 1.236 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004126/0.8695, allocations: 287.1 kB / 1.237 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0009898/0.8705, allocations: 0.5674 MB / 1.237 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002383/0.8729, allocations: 1.873 MB / 1.239 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.8729, allocations: 0 / 1.239 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8729, allocations: 0 / 1.239 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.395e-05/0.873, allocations: 0 / 1.239 GB, free: 0.5547 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003577/0.8766, allocations: 1.463 MB / 1.241 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.8767, allocations: 8.031 kB / 1.241 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003489/0.877, allocations: 132.2 kB / 1.241 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001905/0.8789, allocations: 0.8019 MB / 1.241 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.539e-05/0.879, allocations: 82.38 kB / 1.242 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/0.8792, allocations: 104.3 kB / 1.242 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/0.8811, allocations: 0.9202 MB / 1.243 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/0.8812, allocations: 7.875 kB / 1.243 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-05/0.8813, allocations: 43.98 kB / 1.243 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.632e-05/0.8813, allocations: 28 kB / 1.243 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.8827, allocations: 0.6481 MB / 1.243 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004308/0.887, allocations: 2.87 MB / 1.246 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.8883, allocations: 0.7243 MB / 1.247 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005469/0.8889, allocations: 270.9 kB / 1.247 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.767e-05/0.8889, allocations: 16.53 kB / 1.247 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006498/0.8896, allocations: 315 kB / 1.247 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=64): time 3.958e-06/0.8896, allocations: 0 / 1.247 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of matching and sorting (n=64): time 0.001586/0.8912, allocations: 0.6859 MB / 1.248 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.8913, allocations: 59.97 kB / 1.248 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007351/0.892, allocations: 0.5781 MB / 1.249 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.082e-05/0.8921, allocations: 45.7 kB / 1.249 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003953/0.8925, allocations: 0.4924 MB / 1.249 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.8927, allocations: 206.2 kB / 1.249 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003054/0.893, allocations: 180.2 kB / 1.249 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.8932, allocations: 382.8 kB / 1.25 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005816/0.8938, allocations: 256.7 kB / 1.25 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007117/0.8945, allocations: 483.5 kB / 1.251 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.8957, allocations: 0.7169 MB / 1.251 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.8957, allocations: 0 / 1.251 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001753/0.8975, allocations: 0.8903 MB / 1.252 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.786e-05/0.8976, allocations: 71.39 kB / 1.252 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.8976, allocations: 8 kB / 1.252 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.899e-05/0.8976, allocations: 8 kB / 1.252 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005798/0.8982, allocations: 143.7 kB / 1.252 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.38e-05/0.8983, allocations: 15.94 kB / 1.252 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007109/0.899, allocations: 131.5 kB / 1.252 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.668e-05/0.8991, allocations: 47.97 kB / 1.253 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007905/0.8999, allocations: 422 kB / 1.253 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006525/0.9005, allocations: 480 kB / 1.253 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001072/0.9016, allocations: 0.6974 MB / 1.254 GB, free: 412 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.027e-05/0.9016, allocations: 4 kB / 1.254 GB, free: 408 kB / 0.9669 GB Notification: Performance of matching and sorting (n=102) (initialization_lambda0): time 0.00165/0.9033, allocations: 0.8746 MB / 1.255 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.3e-05/0.9034, allocations: 64.97 kB / 1.255 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.9034, allocations: 8 kB / 1.255 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.9034, allocations: 12 kB / 1.255 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005169/0.9039, allocations: 143.7 kB / 1.255 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.761e-05/0.9039, allocations: 15.94 kB / 1.255 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006568/0.9046, allocations: 123.6 kB / 1.255 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.602e-05/0.9047, allocations: 39.98 kB / 1.255 GB, free: 15.09 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 24 ($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,$whenCondition6,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 (98): * Single equations (assignments): 96 * 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.0002471/0.905, allocations: 247.8 kB / 1.256 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.9051, allocations: 75.47 kB / 1.256 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/0.9064, allocations: 0.5686 MB / 1.256 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/0.9064, allocations: 3.984 kB / 1.256 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.9064, allocations: 4 kB / 1.256 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.9065, allocations: 148.5 kB / 1.256 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.344e-05/0.9066, allocations: 15.98 kB / 1.256 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.9069, allocations: 23.98 kB / 1.256 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.907, allocations: 56.48 kB / 1.256 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001321/0.9084, allocations: 0.612 MB / 1.257 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001642/0.91, allocations: 0.9703 MB / 1.258 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004623/0.9105, allocations: 260.4 kB / 1.258 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004636/0.911, allocations: 383.2 kB / 1.259 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of Backend: time 9.72e-07/0.911, allocations: 4 kB / 1.259 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002403/0.9134, allocations: 1.154 MB / 1.26 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of SimCode: time 0.002719/0.9161, allocations: 1.839 MB / 1.262 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of Templates: time 0.02555/0.9417, allocations: 11.49 MB / 1.273 GB, free: 13.23 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Dampers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches