Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves.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.001747/0.001747, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.002153/0.002153, allocations: 214.5 kB / 23 MB, free: 4.969 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.333/3.333, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.SeriesFanCVF.Subsequences.Validation.DamperValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|damValFan1.VPri_flow|damValFan1.VActCooMax_flow|damValFan1.VActMin_flow|damValFan1.VPri_flow_Set|damValFan1.uCoo|damValFan1.uHea|damValFan1.TSup|damValFan1.TZon|damValFan1.TSupSet|damValFan1.THeaSet|damValFan1.TDis|damValFan1.uOpeMod|damValFan1.yDam|damValFan1.yVal|damValFan1.THeaDisSet|damValFan1.y1Fan|damValFan1.oveFloSet",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|damValFan1.VPri_flow|damValFan1.VActCooMax_flow|damValFan1.VActMin_flow|damValFan1.VPri_flow_Set|damValFan1.uCoo|damValFan1.uHea|damValFan1.TSup|damValFan1.TZon|damValFan1.TSupSet|damValFan1.THeaSet|damValFan1.TDis|damValFan1.uOpeMod|damValFan1.yDam|damValFan1.yVal|damValFan1.THeaDisSet|damValFan1.y1Fan|damValFan1.oveFloSet",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves") [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.002029/0.002029, allocations: 70.64 kB / 1.155 GB, free: 25.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4038, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves): time 0.006062/0.4099, allocations: 3.438 MB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00509/0.4149, allocations: 2.492 MB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/0.4162, allocations: 31.81 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005899/0.4167, allocations: 185.9 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006116/0.4174, allocations: 194.2 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001731/0.4191, allocations: 0.7349 MB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002251/0.4213, allocations: 1.611 MB / 1.336 GB, free: 8.258 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001077/0.4224, allocations: 0.5684 MB / 1.336 GB, free: 7.652 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.4234, allocations: 0.615 MB / 1.337 GB, free: 7.035 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007978/0.4242, allocations: 0.6415 MB / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002482/0.4245, allocations: 180 kB / 1.338 GB, free: 6.215 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002919/0.4248, allocations: 196 kB / 1.338 GB, free: 6.023 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003252/0.4251, allocations: 338.9 kB / 1.338 GB, free: 5.691 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005716/0.4257, allocations: 0.5403 MB / 1.339 GB, free: 5.148 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00252/0.4282, allocations: 2.173 MB / 1.341 GB, free: 2.969 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4282, allocations: 0 / 1.341 GB, free: 2.969 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4282, allocations: 0 / 1.341 GB, free: 2.969 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.717e-05/0.4282, allocations: 0 / 1.341 GB, free: 2.969 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.00373/0.432, allocations: 1.808 MB / 1.342 GB, free: 1.102 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.432, allocations: 8.031 kB / 1.342 GB, free: 1.094 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004575/0.4325, allocations: 176 kB / 1.343 GB, free: 0.9219 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002273/0.4347, allocations: 0.8592 MB / 1.343 GB, free: 32 kB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.4349, allocations: 94.64 kB / 1.344 GB, free: 15.93 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/0.4351, allocations: 116.4 kB / 1.344 GB, free: 15.82 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002388/0.4374, allocations: 1.184 MB / 1.345 GB, free: 14.57 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.388e-05/0.4375, allocations: 7.875 kB / 1.345 GB, free: 14.56 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.4376, allocations: 51.98 kB / 1.345 GB, free: 14.51 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.966e-05/0.4376, allocations: 28 kB / 1.345 GB, free: 14.48 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002008/0.4396, allocations: 0.7971 MB / 1.346 GB, free: 13.68 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005198/0.4448, allocations: 2.586 MB / 1.348 GB, free: 11.04 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/0.4466, allocations: 0.7698 MB / 1.349 GB, free: 10.25 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008426/0.4475, allocations: 358.4 kB / 1.349 GB, free: 9.902 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.36e-05/0.4475, allocations: 12.98 kB / 1.349 GB, free: 9.891 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001153/0.4487, allocations: 492.9 kB / 1.35 GB, free: 9.398 MB / 1.045 GB Notification: Performance of pre-optimization done (n=96): time 3.606e-06/0.4487, allocations: 8 kB / 1.35 GB, free: 9.391 MB / 1.045 GB Notification: Performance of matching and sorting (n=96): time 0.00281/0.4515, allocations: 1.093 MB / 1.351 GB, free: 8.289 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.4516, allocations: 64.39 kB / 1.351 GB, free: 8.215 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009799/0.4525, allocations: 0.6712 MB / 1.352 GB, free: 7.539 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001226/0.4527, allocations: 61.62 kB / 1.352 GB, free: 7.473 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005011/0.4532, allocations: 0.5322 MB / 1.352 GB, free: 6.934 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002837/0.4534, allocations: 289.6 kB / 1.352 GB, free: 6.648 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003822/0.4538, allocations: 234.8 kB / 1.353 GB, free: 6.41 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002421/0.4541, allocations: 410.7 kB / 1.353 GB, free: 6 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009606/0.455, allocations: 409.3 kB / 1.353 GB, free: 5.586 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.4562, allocations: 0.6937 MB / 1.354 GB, free: 4.777 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00179/0.458, allocations: 0.87 MB / 1.355 GB, free: 3.809 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/0.458, allocations: 8 kB / 1.355 GB, free: 3.801 MB / 1.045 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002544/0.4606, allocations: 1.175 MB / 1.356 GB, free: 2.594 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 7.555e-05/0.4607, allocations: 67.48 kB / 1.356 GB, free: 2.516 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.4607, allocations: 8 kB / 1.356 GB, free: 2.508 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/0.4607, allocations: 12 kB / 1.356 GB, free: 2.496 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008008/0.4615, allocations: 183.7 kB / 1.356 GB, free: 2.316 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.88e-05/0.4615, allocations: 11.94 kB / 1.356 GB, free: 2.305 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008854/0.4624, allocations: 163.2 kB / 1.357 GB, free: 2.145 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.4625, allocations: 55.92 kB / 1.357 GB, free: 2.09 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00123/0.4637, allocations: 0.5878 MB / 1.357 GB, free: 1.484 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001137/0.4649, allocations: 0.6703 MB / 1.358 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001678/0.4666, allocations: 0.8738 MB / 1.359 GB, free: 15.73 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.683e-06/0.4666, allocations: 4 kB / 1.359 GB, free: 15.72 MB / 1.061 GB Notification: Performance of matching and sorting (n=135) (initialization_lambda0): time 0.002432/0.469, allocations: 1.164 MB / 1.36 GB, free: 14.53 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.288e-05/0.4691, allocations: 67.48 kB / 1.36 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.4691, allocations: 8 kB / 1.36 GB, free: 14.44 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.4691, allocations: 12 kB / 1.36 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007499/0.4698, allocations: 175.7 kB / 1.36 GB, free: 14.26 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.873e-05/0.4699, allocations: 15.98 kB / 1.36 GB, free: 14.24 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008711/0.4707, allocations: 159.3 kB / 1.36 GB, free: 14.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.4708, allocations: 51.98 kB / 1.36 GB, free: 14.04 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 56 (booPul.y,$PRE.booPul.y,$whenCondition13,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,terFan.y,$PRE.terFan.y,damValFan1.tim.entryTime,$PRE.damValFan1.tim.entryTime,$whenCondition9,$whenCondition8,$whenCondition7,damValFan1.conInt2.y,damValFan1.conInt1.y,damValFan1.conInt.y,damValFan1.occ.y,damValFan1.unOcc.y,reaToInt1.y,reaToInt2.y,damValFan1.or2.y,damValFan1.or1.y,damValFan1.forMinFlo.y,damValFan1.forCooMax.y,damValFan1.forZerFlo.y,damValFan1.falEdg.not_u,$PRE.damValFan1.falEdg.not_u,damValFan1.falEdg.y,damValFan1.lat1.y,damValFan1.and2.y,damValFan1.tim.passed,$PRE.damValFan1.tim.passed,damValFan1.edg.y,damValFan1.edg.u,$PRE.damValFan1.edg.u,damValFan1.isOcc.y,damValFan1.or5.y,damValFan1.cloDam.lesHys.y,$PRE.damValFan1.cloDam.lesHys.y,damValFan1.lat.y,damValFan1.isUno.y,damValFan1.greThr2.greHys.y,$PRE.damValFan1.greThr2.greHys.y,damValFan1.greThr.greHys.y,$PRE.damValFan1.greThr.greHys.y,damValFan1.greThr1.greHys.y,$PRE.damValFan1.greThr1.greHys.y,damValFan1.and4.y,$whenCondition5,$whenCondition6,$whenCondition10,$whenCondition11,$whenCondition12,damValFan1.conDam.cheYMinMax.y,damValFan1.conVal.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 129 * 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.0003803/0.4712, allocations: 275.5 kB / 1.361 GB, free: 13.77 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.4714, allocations: 99.38 kB / 1.361 GB, free: 13.67 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002174/0.4736, allocations: 0.8861 MB / 1.362 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/0.4736, allocations: 7.969 kB / 1.362 GB, free: 12.76 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.4736, allocations: 0 / 1.362 GB, free: 12.76 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/0.4738, allocations: 91.2 kB / 1.362 GB, free: 12.67 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.4739, allocations: 31.92 kB / 1.362 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004567/0.4744, allocations: 51.95 kB / 1.362 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002579/0.4746, allocations: 116.7 kB / 1.362 GB, free: 12.47 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002348/0.477, allocations: 0.9349 MB / 1.363 GB, free: 11.53 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002906/0.4799, allocations: 1.434 MB / 1.364 GB, free: 10.08 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008172/0.4807, allocations: 367.8 kB / 1.364 GB, free: 9.723 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005965/0.4813, allocations: 419.1 kB / 1.365 GB, free: 9.32 MB / 1.061 GB Notification: Performance of Backend: time 9.12e-07/0.4813, allocations: 0 / 1.365 GB, free: 9.32 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003463/0.4847, allocations: 1.453 MB / 1.366 GB, free: 7.789 MB / 1.061 GB Notification: Performance of SimCode: time 0.003629/0.4884, allocations: 2.097 MB / 1.368 GB, free: 5.637 MB / 1.061 GB Notification: Performance of Templates: time 0.03693/0.5253, allocations: 18.37 MB / 1.386 GB, free: 3.535 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_DamperValves.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves.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: 9.892637340002693]