Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors.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.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors,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.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors,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.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001878/0.001886, allocations: 112.5 kB / 16.42 MB, free: 5.949 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.002893/0.002893, allocations: 184.1 kB / 17.35 MB, free: 5.594 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.426/1.426, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.788/2.788, allocations: 472.7 MB / 0.746 GB, free: 460 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 63.91 kB / 1.07 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8241/0.8257, allocations: 159.9 MB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors): time 0.006049/0.8318, allocations: 3.963 MB / 1.23 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004851/0.8367, allocations: 2.409 MB / 1.233 GB, free: 7.109 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001433/0.8381, allocations: 31.88 kB / 1.233 GB, free: 7.078 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006538/0.8388, allocations: 189.9 kB / 1.233 GB, free: 6.891 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000831/0.8397, allocations: 182.2 kB / 1.233 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002035/0.8417, allocations: 0.7192 MB / 1.234 GB, free: 5.996 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002672/0.8444, allocations: 1.614 MB / 1.235 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001628/0.8461, allocations: 0.8257 MB / 1.236 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009653/0.847, allocations: 0.5838 MB / 1.237 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009407/0.848, allocations: 0.6103 MB / 1.237 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0004616/0.8485, allocations: 176 kB / 1.237 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004184/0.8489, allocations: 192 kB / 1.238 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000274/0.8492, allocations: 331 kB / 1.238 GB, free: 1.633 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006452/0.8498, allocations: 0.6569 MB / 1.239 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002241/0.8521, allocations: 2.16 MB / 1.241 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.8521, allocations: 0 / 1.241 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8521, allocations: 0 / 1.241 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.842e-05/0.8521, allocations: 0 / 1.241 GB, free: 14.81 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.00291/0.8551, allocations: 1.629 MB / 1.242 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.8551, allocations: 8.031 kB / 1.242 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002297/0.8553, allocations: 156 kB / 1.242 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001875/0.8572, allocations: 0.9034 MB / 1.243 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.21e-05/0.8573, allocations: 94.52 kB / 1.243 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/0.8575, allocations: 124.4 kB / 1.243 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/0.8594, allocations: 1.052 MB / 1.245 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.8594, allocations: 7.938 kB / 1.245 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.958e-05/0.8595, allocations: 48 kB / 1.245 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/0.8595, allocations: 24 kB / 1.245 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.8611, allocations: 0.7426 MB / 1.245 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00505/0.8662, allocations: 3.195 MB / 1.248 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.8677, allocations: 0.8631 MB / 1.249 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005954/0.8683, allocations: 323.2 kB / 1.25 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.766e-05/0.8683, allocations: 12.72 kB / 1.25 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000786/0.8691, allocations: 408.2 kB / 1.25 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=82): time 3.216e-06/0.8692, allocations: 3.938 kB / 1.25 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of matching and sorting (n=82): time 0.001977/0.8711, allocations: 0.88 MB / 1.251 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.8712, allocations: 68.06 kB / 1.251 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008064/0.872, allocations: 0.6409 MB / 1.252 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.8721, allocations: 53.7 kB / 1.252 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004702/0.8726, allocations: 0.5357 MB / 1.252 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002021/0.8728, allocations: 257.8 kB / 1.252 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003332/0.8732, allocations: 222.5 kB / 1.253 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.8734, allocations: 394.7 kB / 1.253 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006824/0.874, allocations: 301 kB / 1.253 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009265/0.875, allocations: 0.5742 MB / 1.254 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.8763, allocations: 0.8497 MB / 1.255 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.8764, allocations: 3.938 kB / 1.255 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002042/0.8784, allocations: 1.047 MB / 1.256 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.874e-05/0.8785, allocations: 75.33 kB / 1.256 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/0.8785, allocations: 8 kB / 1.256 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.263e-05/0.8786, allocations: 16 kB / 1.256 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000656/0.8792, allocations: 164.2 kB / 1.256 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.914e-05/0.8793, allocations: 19.94 kB / 1.256 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007925/0.8801, allocations: 147.3 kB / 1.256 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-05/0.8802, allocations: 51.98 kB / 1.256 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009738/0.8812, allocations: 494.2 kB / 1.257 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008244/0.882, allocations: 0.5625 MB / 1.257 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001271/0.8833, allocations: 0.8341 MB / 1.258 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.856e-06/0.8833, allocations: 4 kB / 1.258 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of matching and sorting (n=128) (initialization_lambda0): time 0.001871/0.8852, allocations: 1.028 MB / 1.259 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.686e-05/0.8852, allocations: 71.39 kB / 1.259 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.8853, allocations: 8 kB / 1.259 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.8853, allocations: 15.94 kB / 1.259 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006191/0.8859, allocations: 159.7 kB / 1.259 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.419e-05/0.8859, allocations: 15.94 kB / 1.259 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008003/0.8868, allocations: 139.5 kB / 1.259 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.068e-05/0.8869, allocations: 51.98 kB / 1.259 GB, free: 10.64 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 46 ($PRE.dam1.greThr.greHys.y,$PRE.dam1.greThr3.greHys.y,dam1.samHea.firstTrigger,$PRE.dam1.samHea.firstTrigger,dam1.samCoo.firstTrigger,$PRE.dam1.samCoo.firstTrigger,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,dam1.samCoo.sampleTrigger,$whenCondition8,dam1.samHea.sampleTrigger,$whenCondition9,dam1.greThr3.greHys.y,dam1.greThr.greHys.y,heaAhu.y,$PRE.heaAhu.y,cooAhu.y,$PRE.cooAhu.y,dam1.lat1.y,dam1.lat.y,dam1.greThr5.greHys.y,$PRE.dam1.greThr5.greHys.y,dam1.greThr4.greHys.y,$PRE.dam1.greThr4.greHys.y,dam1.samCoo.y,dam1.samHea.y,dam1.and3.y,dam1.and2.y,dam1.falEdg.not_u,$PRE.dam1.falEdg.not_u,dam1.falEdg.y,dam1.and1.y,dam1.greThr2.greHys.y,$PRE.dam1.greThr2.greHys.y,dam1.greThr1.greHys.y,$PRE.dam1.greThr1.greHys.y,dam1.and4.y,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition10,$whenCondition11,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 (124): * Single equations (assignments): 122 * 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.000322/0.8872, allocations: 275.8 kB / 1.26 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.8874, allocations: 91.42 kB / 1.26 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001615/0.889, allocations: 0.7293 MB / 1.26 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.889, allocations: 7.969 kB / 1.26 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.889, allocations: 0 / 1.26 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002116/0.8892, allocations: 168.4 kB / 1.261 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.8894, allocations: 19.98 kB / 1.261 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003513/0.8897, allocations: 31.97 kB / 1.261 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/0.8899, allocations: 76.83 kB / 1.261 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001711/0.8917, allocations: 0.7749 MB / 1.262 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002081/0.8937, allocations: 1.2 MB / 1.263 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005857/0.8943, allocations: 331.9 kB / 1.263 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005979/0.895, allocations: 415.1 kB / 1.263 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of Backend: time 8.71e-07/0.895, allocations: 0 / 1.263 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002719/0.8977, allocations: 1.352 MB / 1.265 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of SimCode: time 0.003138/0.9008, allocations: 2.053 MB / 1.267 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of Templates: time 0.02693/0.9278, allocations: 13.64 MB / 1.28 GB, free: 5.484 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_DampersDualSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches