Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 105.1 kB / 19.71 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001932/0.001932, allocations: 211.2 kB / 23 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.506/3.506, allocations: 0.49 GB / 0.7959 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_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=2500,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_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 75.72 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3774, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors): time 0.00586/0.3832, allocations: 3.389 MB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006412/0.3897, allocations: 2.449 MB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/0.3913, allocations: 31.81 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007652/0.392, allocations: 185.9 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007793/0.3928, allocations: 186.3 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002307/0.3951, allocations: 0.725 MB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002529/0.3976, allocations: 1.595 MB / 1.335 GB, free: 8.414 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001147/0.3988, allocations: 0.5841 MB / 1.336 GB, free: 7.789 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009993/0.3998, allocations: 0.5995 MB / 1.337 GB, free: 7.188 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007151/0.4005, allocations: 0.6104 MB / 1.337 GB, free: 6.574 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002296/0.4007, allocations: 176 kB / 1.337 GB, free: 6.402 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003022/0.401, allocations: 192 kB / 1.338 GB, free: 6.215 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002947/0.4013, allocations: 338.9 kB / 1.338 GB, free: 5.883 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005352/0.4019, allocations: 0.5287 MB / 1.338 GB, free: 5.352 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002354/0.4042, allocations: 2.171 MB / 1.341 GB, free: 3.172 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.4042, allocations: 4 kB / 1.341 GB, free: 3.168 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.314e-06/0.4042, allocations: 0 / 1.341 GB, free: 3.168 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.791e-05/0.4042, allocations: 0 / 1.341 GB, free: 3.168 MB / 1.029 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.003468/0.4077, allocations: 1.759 MB / 1.342 GB, free: 1.348 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.4078, allocations: 8.031 kB / 1.342 GB, free: 1.34 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004593/0.4082, allocations: 172 kB / 1.342 GB, free: 1.172 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002047/0.4103, allocations: 0.8117 MB / 1.343 GB, free: 340 kB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.33e-05/0.4104, allocations: 90.59 kB / 1.343 GB, free: 248 kB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/0.4106, allocations: 124.4 kB / 1.343 GB, free: 124 kB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002138/0.4127, allocations: 1.157 MB / 1.345 GB, free: 14.89 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/0.4127, allocations: 3.938 kB / 1.345 GB, free: 14.89 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.4128, allocations: 48 kB / 1.345 GB, free: 14.84 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.72e-05/0.4129, allocations: 27.94 kB / 1.345 GB, free: 14.82 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001589/0.4144, allocations: 0.7425 MB / 1.345 GB, free: 14.07 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005048/0.4195, allocations: 2.672 MB / 1.348 GB, free: 11.31 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.4209, allocations: 0.6572 MB / 1.349 GB, free: 10.63 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005833/0.4215, allocations: 283.2 kB / 1.349 GB, free: 10.36 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.966e-05/0.4215, allocations: 16.58 kB / 1.349 GB, free: 10.34 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00083/0.4224, allocations: 401.8 kB / 1.349 GB, free: 9.934 MB / 1.045 GB Notification: Performance of pre-optimization done (n=82): time 3.256e-06/0.4224, allocations: 0 / 1.349 GB, free: 9.934 MB / 1.045 GB Notification: Performance of matching and sorting (n=82): time 0.002044/0.4244, allocations: 0.8917 MB / 1.35 GB, free: 9.035 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.4245, allocations: 68.03 kB / 1.35 GB, free: 8.957 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008503/0.4253, allocations: 0.6329 MB / 1.351 GB, free: 8.316 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.4254, allocations: 53.7 kB / 1.351 GB, free: 8.258 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000507/0.4259, allocations: 0.5434 MB / 1.351 GB, free: 7.707 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002709/0.4262, allocations: 257.9 kB / 1.352 GB, free: 7.453 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003526/0.4266, allocations: 226.5 kB / 1.352 GB, free: 7.227 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000215/0.4268, allocations: 390.7 kB / 1.352 GB, free: 6.836 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007231/0.4275, allocations: 360.4 kB / 1.353 GB, free: 6.465 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009675/0.4285, allocations: 0.6824 MB / 1.353 GB, free: 5.637 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/0.4299, allocations: 0.8574 MB / 1.354 GB, free: 4.656 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/0.4299, allocations: 4 kB / 1.354 GB, free: 4.652 MB / 1.045 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002228/0.4322, allocations: 1.109 MB / 1.355 GB, free: 3.508 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 7.992e-05/0.4322, allocations: 72.8 kB / 1.355 GB, free: 3.426 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.4323, allocations: 8 kB / 1.355 GB, free: 3.418 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.379e-05/0.4323, allocations: 12 kB / 1.355 GB, free: 3.406 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006686/0.433, allocations: 159.7 kB / 1.355 GB, free: 3.25 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.898e-05/0.433, allocations: 23.92 kB / 1.355 GB, free: 3.227 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008138/0.4338, allocations: 147.4 kB / 1.356 GB, free: 3.082 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.4339, allocations: 55.98 kB / 1.356 GB, free: 3.027 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00109/0.435, allocations: 0.5329 MB / 1.356 GB, free: 2.477 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009657/0.436, allocations: 0.6707 MB / 1.357 GB, free: 1.664 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001345/0.4373, allocations: 0.8341 MB / 1.358 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.194e-06/0.4373, allocations: 7.938 kB / 1.358 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of matching and sorting (n=128) (initialization_lambda0): time 0.002016/0.4393, allocations: 1.09 MB / 1.359 GB, free: 15.57 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.983e-05/0.4394, allocations: 71.33 kB / 1.359 GB, free: 15.49 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.4394, allocations: 12 kB / 1.359 GB, free: 15.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.4394, allocations: 12 kB / 1.359 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005969/0.44, allocations: 163.6 kB / 1.359 GB, free: 15.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.902e-05/0.4401, allocations: 23.92 kB / 1.359 GB, free: 15.28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000751/0.4408, allocations: 131.5 kB / 1.359 GB, free: 15.15 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.072e-05/0.4409, allocations: 59.97 kB / 1.359 GB, free: 15.09 MB / 1.061 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.000388/0.4413, allocations: 263.2 kB / 1.359 GB, free: 14.83 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.4414, allocations: 87.42 kB / 1.359 GB, free: 14.75 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/0.4431, allocations: 0.7448 MB / 1.36 GB, free: 13.99 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.4431, allocations: 3.984 kB / 1.36 GB, free: 13.99 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.4431, allocations: 7.938 kB / 1.36 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.4432, allocations: 79.28 kB / 1.36 GB, free: 13.9 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.4433, allocations: 24 kB / 1.36 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003489/0.4437, allocations: 35.95 kB / 1.36 GB, free: 13.84 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001884/0.4439, allocations: 76.86 kB / 1.36 GB, free: 13.77 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001686/0.4455, allocations: 0.771 MB / 1.361 GB, free: 12.99 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002127/0.4477, allocations: 1.208 MB / 1.362 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005879/0.4483, allocations: 283.8 kB / 1.363 GB, free: 11.49 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005981/0.4489, allocations: 411.1 kB / 1.363 GB, free: 11.09 MB / 1.061 GB Notification: Performance of Backend: time 5.21e-07/0.4489, allocations: 4 kB / 1.363 GB, free: 11.09 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00296/0.4518, allocations: 1.348 MB / 1.364 GB, free: 9.66 MB / 1.061 GB Notification: Performance of SimCode: time 0.003283/0.4551, allocations: 2.063 MB / 1.366 GB, free: 7.547 MB / 1.061 GB Notification: Performance of Templates: time 0.0293/0.4844, allocations: 15.85 MB / 1.382 GB, free: 7.977 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_DampersDualSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.248945678002201]