Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_PR1.TerminalUnits.Reheat.Validation.DamperValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damVal.uHea|damVal.uCoo|damVal.VDisSet_flow|damVal.yDam|damVal.TDisHeaSet|damVal.yHeaVal|damVal.conVal.u_s|damVal.conVal.u_m",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damVal.uHea|damVal.uCoo|damVal.VDisSet_flow|damVal.yDam|damVal.TDisHeaSet|damVal.yHeaVal|damVal.conVal.u_s|damVal.conVal.u_m",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001357/0.001357, allocations: 186.1 kB / 17.35 MB, free: 5.633 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 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.31/2.31, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 63.91 kB / 0.9516 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9967/0.9982, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves): time 0.00664/1.005, allocations: 4.708 MB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004398/1.009, allocations: 1.602 MB / 1.095 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/1.011, allocations: 26.84 kB / 1.095 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004591/1.011, allocations: 138.8 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004021/1.011, allocations: 139.1 kB / 1.095 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001494/1.013, allocations: 0.5702 MB / 1.096 GB, free: 276 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001848/1.015, allocations: 1.429 MB / 1.097 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001935/1.017, allocations: 1.125 MB / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007272/1.018, allocations: 0.495 MB / 1.099 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007106/1.018, allocations: 0.5454 MB / 1.099 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002721/1.019, allocations: 172.8 kB / 1.099 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003124/1.019, allocations: 174.6 kB / 1.099 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003359/1.019, allocations: 329.7 kB / 1.1 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006031/1.02, allocations: 0.6022 MB / 1.1 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00283/1.023, allocations: 1.925 MB / 1.102 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.023, allocations: 0.9375 kB / 1.102 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.144e-06/1.023, allocations: 0 / 1.102 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.342e-05/1.023, allocations: 0 / 1.102 GB, free: 12.88 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.003431/1.026, allocations: 1.404 MB / 1.104 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/1.026, allocations: 9.344 kB / 1.104 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003186/1.027, allocations: 131.5 kB / 1.104 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/1.028, allocations: 0.6671 MB / 1.104 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/1.028, allocations: 97.34 kB / 1.105 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000223/1.028, allocations: 127.1 kB / 1.105 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002816/1.031, allocations: 1.154 MB / 1.106 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/1.031, allocations: 1.281 kB / 1.106 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/1.031, allocations: 49.3 kB / 1.106 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-05/1.031, allocations: 27.67 kB / 1.106 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/1.033, allocations: 0.8206 MB / 1.107 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006348/1.04, allocations: 3.652 MB / 1.11 GB, free: 8.133 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/1.042, allocations: 0.7658 MB / 1.111 GB, free: 7.746 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00077/1.042, allocations: 364.5 kB / 1.111 GB, free: 7.594 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.269e-05/1.042, allocations: 22.3 kB / 1.111 GB, free: 7.582 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001127/1.043, allocations: 0.5052 MB / 1.112 GB, free: 7.34 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 3.026e-06/1.044, allocations: 0 / 1.112 GB, free: 7.34 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.002835/1.046, allocations: 1.034 MB / 1.113 GB, free: 6.945 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/1.046, allocations: 143.6 kB / 1.113 GB, free: 6.785 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/1.048, allocations: 0.6756 MB / 1.114 GB, free: 6.465 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001174/1.048, allocations: 65.02 kB / 1.114 GB, free: 6.41 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004661/1.048, allocations: 477.4 kB / 1.114 GB, free: 6.035 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003084/1.049, allocations: 222.9 kB / 1.114 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004531/1.049, allocations: 217.1 kB / 1.115 GB, free: 5.762 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002141/1.049, allocations: 397.2 kB / 1.115 GB, free: 5.41 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007348/1.05, allocations: 309.1 kB / 1.115 GB, free: 5.293 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009854/1.051, allocations: 0.5814 MB / 1.116 GB, free: 4.824 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00146/1.052, allocations: 0.7849 MB / 1.117 GB, free: 4.27 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/1.052, allocations: 2.812 kB / 1.117 GB, free: 4.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002163/1.055, allocations: 0.955 MB / 1.118 GB, free: 3.875 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/1.055, allocations: 8.438 kB / 1.118 GB, free: 3.875 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/1.055, allocations: 8.344 kB / 1.118 GB, free: 3.875 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.423e-05/1.055, allocations: 12.81 kB / 1.118 GB, free: 3.875 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006937/1.055, allocations: 164.7 kB / 1.118 GB, free: 3.852 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.064e-05/1.056, allocations: 19.33 kB / 1.118 GB, free: 3.848 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007536/1.056, allocations: 138 kB / 1.118 GB, free: 3.766 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/1.056, allocations: 47.69 kB / 1.118 GB, free: 3.754 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001329/1.058, allocations: 493 kB / 1.118 GB, free: 3.5 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001098/1.059, allocations: 0.5738 MB / 1.119 GB, free: 3.039 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001499/1.06, allocations: 0.7749 MB / 1.12 GB, free: 2.492 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.862e-06/1.06, allocations: 2.344 kB / 1.12 GB, free: 2.492 MB / 0.8731 GB Notification: Performance of matching and sorting (n=133) (initialization_lambda0): time 0.002239/1.063, allocations: 0.9531 MB / 1.121 GB, free: 2.086 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/1.063, allocations: 12.47 kB / 1.121 GB, free: 2.082 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/1.063, allocations: 8.781 kB / 1.121 GB, free: 2.082 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/1.063, allocations: 13.81 kB / 1.121 GB, free: 2.082 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006531/1.063, allocations: 161.5 kB / 1.121 GB, free: 2.059 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-05/1.063, allocations: 22.2 kB / 1.121 GB, free: 2.051 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006914/1.064, allocations: 119.8 kB / 1.121 GB, free: 1.984 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.05e-05/1.064, allocations: 40.55 kB / 1.121 GB, free: 1.977 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 67 ($PRE.damVal.truHol2.onDelay.u,$PRE.damVal.truHol2.toOutputTrue.enableFire,$PRE.damVal.truHol2.toInitial.enableFire,$PRE.damVal.truDel3.u,$PRE.damVal.truDel4.u,$PRE.damVal.truHol2.onDelay.t_next,$whenCondition7,$PRE.damVal.truDel3.t_next,$whenCondition4,$PRE.damVal.truDel4.t_next,$whenCondition1,damVal.truHol2.onDelay.t_next,damVal.truDel3.t_next,damVal.truDel4.t_next,damVal.truHol2.toOutputTrue.t_start,$PRE.damVal.truHol2.toOutputTrue.t_start,damVal.truHol2.toInitial.t_start,$PRE.damVal.truHol2.toInitial.t_start,damVal.truHol2.stateGraphRoot.resume,damVal.truHol2.stateGraphRoot.suspend,damVal.unOcc.y,damVal.conVal.trigger,damVal.and1.y,damVal.or2.y,damVal.truDel4.y,damVal.truDel4.u,damVal.truDel3.y,damVal.truDel3.u,damVal.truHol2.toInitial.enableFire,damVal.truHol2.toOutputTrue.enableFire,damVal.truHol2.outputTrue.active,damVal.truHol2.outputTrue.oldActive,$PRE.damVal.truHol2.outputTrue.oldActive,damVal.truHol2.outputTrue.newActive,$PRE.damVal.truHol2.outputTrue.newActive,damVal.truHol2.outputTrue.localActive,$PRE.damVal.truHol2.outputTrue.localActive,damVal.truHol2.initialStep.oldActive,$PRE.damVal.truHol2.initialStep.oldActive,damVal.truHol2.initialStep.newActive,$PRE.damVal.truHol2.initialStep.newActive,damVal.truHol2.initialStep.localActive,$PRE.damVal.truHol2.initialStep.localActive,damVal.truHol2.initialStep.active,damVal.truHol2.onDelay.y,damVal.truHol2.onDelay.u,damVal.truHol2.stateGraphRoot.activeSteps,damVal.hys7.y,$PRE.damVal.hys7.y,damVal.hys6.y,$PRE.damVal.hys6.y,damVal.hys4.y,$PRE.damVal.hys4.y,damVal.hys3.y,$PRE.damVal.hys3.y,damVal.hys2.y,$PRE.damVal.hys2.y,damVal.and4.y,damVal.and2.y,$whenCondition3,$whenCondition2,$whenCondition6,$whenCondition5,$whenCondition9,$whenCondition8,$whenCondition10,damVal.conVal.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * 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.0006169/1.065, allocations: 279.7 kB / 1.121 GB, free: 1.742 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/1.065, allocations: 89.2 kB / 1.121 GB, free: 1.695 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/1.067, allocations: 0.8166 MB / 1.122 GB, free: 1.352 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-05/1.067, allocations: 6.406 kB / 1.122 GB, free: 1.352 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/1.067, allocations: 5.25 kB / 1.122 GB, free: 1.348 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002513/1.067, allocations: 166.8 kB / 1.122 GB, free: 1.191 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/1.067, allocations: 29.8 kB / 1.122 GB, free: 1.176 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004045/1.068, allocations: 41.5 kB / 1.122 GB, free: 1.168 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002707/1.068, allocations: 98.56 kB / 1.122 GB, free: 1.141 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002165/1.07, allocations: 1.134 MB / 1.124 GB, free: 0.5312 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002819/1.073, allocations: 1.599 MB / 1.125 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008052/1.074, allocations: 393.8 kB / 1.125 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007045/1.075, allocations: 438.1 kB / 1.126 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of Backend: time 6.21e-07/1.075, allocations: 3.938 kB / 1.126 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00335/1.078, allocations: 1.084 MB / 1.127 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of SimCode: time 0.003096/1.081, allocations: 1.837 MB / 1.129 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of Templates: time 0.02986/1.111, allocations: 12.97 MB / 1.141 GB, free: 10.96 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_Validation_DamperValves.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches