Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Components.Validation.Valves.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Templates.Components.Validation.Valves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modThr.bus.y|modThr.bus.y_actual|modThr.m_flow|modThr.portByp_a.m_flow|modThr.m_flow_nominal|modTwo.bus.y|modTwo.bus.y_actual|modTwo.m_flow|modTwo.m_flow_nominal|twoThr.bus.y1|twoThr.bus.y1_actual|twoThr.m_flow|twoThr.portByp_a.m_flow|twoThr.m_flow_nominal|twoTwo.bus.y1|twoTwo.bus.y1_actual|twoTwo.m_flow|twoTwo.m_flow_nominal",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.Valves") translateModel(Buildings.Templates.Components.Validation.Valves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modThr.bus.y|modThr.bus.y_actual|modThr.m_flow|modThr.portByp_a.m_flow|modThr.m_flow_nominal|modTwo.bus.y|modTwo.bus.y_actual|modTwo.m_flow|modTwo.m_flow_nominal|twoThr.bus.y1|twoThr.bus.y1_actual|twoThr.m_flow|twoThr.portByp_a.m_flow|twoThr.m_flow_nominal|twoTwo.bus.y1|twoTwo.bus.y1_actual|twoTwo.m_flow|twoTwo.m_flow_nominal",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.Valves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001477/0.001477, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.544/2.544, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 60.11 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6636/0.6648, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Valves): time 1.109/1.774, allocations: 0.6137 GB / 1.822 GB, free: 10.34 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.1522/1.926, allocations: 119.9 MB / 1.939 GB, free: 2.207 MB / 1.389 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02163/1.948, allocations: 0.633 MB / 1.94 GB, free: 1.57 MB / 1.389 GB Notification: Performance of NFTyping.typeComponents: time 0.004264/1.952, allocations: 1.518 MB / 1.941 GB, free: 44 kB / 1.389 GB Notification: Performance of NFTyping.typeBindings: time 0.009319/1.961, allocations: 3.567 MB / 1.945 GB, free: 12.46 MB / 1.404 GB Notification: Performance of NFTyping.typeClassSections: time 0.009353/1.971, allocations: 3.936 MB / 1.949 GB, free: 8.543 MB / 1.404 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Templates/Components/Data/Valve.mo:9:3-14:68:writable] Warning: Parameter non.dat.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Templates/Components/Data/Valve.mo:15:3-21:68:writable] Warning: Parameter non.dat.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of NFFlatten.flatten: time 0.009926/1.981, allocations: 8.372 MB / 1.957 GB, free: 152 kB / 1.404 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004789/1.985, allocations: 3.366 MB / 1.96 GB, free: 12.72 MB / 1.42 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006492/1.992, allocations: 3.295 MB / 1.963 GB, free: 9.418 MB / 1.42 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003719/1.996, allocations: 2.384 MB / 1.966 GB, free: 7.023 MB / 1.42 GB Notification: Performance of NFPackage.collectConstants: time 0.0007045/1.996, allocations: 344 kB / 1.966 GB, free: 6.688 MB / 1.42 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003142/2, allocations: 1.521 MB / 1.967 GB, free: 5.164 MB / 1.42 GB Notification: Performance of NFScalarize.scalarize: time 0.0007985/2, allocations: 0.8836 MB / 1.968 GB, free: 4.277 MB / 1.42 GB Notification: Performance of NFVerifyModel.verify: time 0.00196/2.002, allocations: 1.858 MB / 1.97 GB, free: 2.41 MB / 1.42 GB Notification: Performance of NFConvertDAE.convert: time 0.006032/2.008, allocations: 5.355 MB / 1.975 GB, free: 13.04 MB / 1.436 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/2.008, allocations: 0 / 1.975 GB, free: 13.04 MB / 1.436 GB Notification: Performance of FrontEnd: time 2.926e-06/2.008, allocations: 0 / 1.975 GB, free: 13.04 MB / 1.436 GB Notification: Performance of Transformations before backend: time 0.000119/2.009, allocations: 3.938 kB / 1.975 GB, free: 13.04 MB / 1.436 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.006887/2.015, allocations: 3.852 MB / 1.979 GB, free: 9.117 MB / 1.436 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/2.015, allocations: 12.03 kB / 1.979 GB, free: 9.105 MB / 1.436 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007503/2.016, allocations: 387.4 kB / 1.979 GB, free: 8.723 MB / 1.436 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004319/2.021, allocations: 2.724 MB / 1.982 GB, free: 5.934 MB / 1.436 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.992e-05/2.021, allocations: 147.3 kB / 1.982 GB, free: 5.789 MB / 1.436 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002945/2.021, allocations: 203.9 kB / 1.982 GB, free: 5.59 MB / 1.436 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003039/2.024, allocations: 1.857 MB / 1.984 GB, free: 3.688 MB / 1.436 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.715e-05/2.024, allocations: 3.984 kB / 1.984 GB, free: 3.684 MB / 1.436 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/2.024, allocations: 71.98 kB / 1.984 GB, free: 3.613 MB / 1.436 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.857e-05/2.024, allocations: 75.28 kB / 1.984 GB, free: 3.539 MB / 1.436 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002405/2.027, allocations: 1.376 MB / 1.986 GB, free: 2.16 MB / 1.436 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01151/2.038, allocations: 8.829 MB / 1.994 GB, free: 8.812 MB / 1.451 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/2.039, allocations: 0.6896 MB / 1.995 GB, free: 8.117 MB / 1.451 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006169/2.04, allocations: 400.1 kB / 1.995 GB, free: 7.727 MB / 1.451 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004064/2.04, allocations: 0.5188 MB / 1.996 GB, free: 7.094 MB / 1.451 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009486/2.041, allocations: 0.5382 MB / 1.996 GB, free: 6.539 MB / 1.451 GB Notification: Performance of pre-optimization done (n=81): time 3.436e-06/2.041, allocations: 4 kB / 1.996 GB, free: 6.535 MB / 1.451 GB Notification: Performance of matching and sorting (n=81): time 0.002657/2.044, allocations: 1.318 MB / 1.998 GB, free: 5.207 MB / 1.451 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/2.044, allocations: 93.77 kB / 1.998 GB, free: 5.098 MB / 1.451 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Templates/Components/Data/Valve.mo:15:3-21:68:writable] Warning: Parameter non.dat.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Templates/Components/Data/Valve.mo:9:3-14:68:writable] Warning: Parameter non.dat.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003751/2.048, allocations: 2.801 MB / 2.001 GB, free: 2.297 MB / 1.451 GB Notification: Performance of collectPreVariables (initialization): time 0.0001612/2.048, allocations: 61.69 kB / 2.001 GB, free: 2.23 MB / 1.451 GB Notification: Performance of collectInitialEqns (initialization): time 0.001173/2.049, allocations: 1.387 MB / 2.002 GB, free: 0.8281 MB / 1.451 GB Notification: Performance of collectInitialBindings (initialization): time 0.000265/2.049, allocations: 280 kB / 2.002 GB, free: 0.5508 MB / 1.451 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004361/2.05, allocations: 314.6 kB / 2.003 GB, free: 240 kB / 1.451 GB Notification: Performance of setup shared object (initialization): time 0.0001364/2.05, allocations: 353.9 kB / 2.003 GB, free: 15.88 MB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008511/2.051, allocations: 477.9 kB / 2.003 GB, free: 15.41 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/2.052, allocations: 0.8773 MB / 2.004 GB, free: 14.38 MB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0017/2.054, allocations: 1.149 MB / 2.005 GB, free: 13.13 MB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/2.054, allocations: 7.938 kB / 2.005 GB, free: 13.12 MB / 1.467 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002795/2.057, allocations: 1.58 MB / 2.007 GB, free: 11.53 MB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/2.057, allocations: 8 kB / 2.007 GB, free: 11.52 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/2.057, allocations: 19.94 kB / 2.007 GB, free: 11.5 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.671e-05/2.057, allocations: 15.94 kB / 2.007 GB, free: 11.49 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002526/2.059, allocations: 459.4 kB / 2.007 GB, free: 11.04 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/2.061, allocations: 4.184 MB / 2.011 GB, free: 6.691 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002212/2.064, allocations: 210.6 kB / 2.012 GB, free: 6.484 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/2.064, allocations: 59.98 kB / 2.012 GB, free: 6.426 MB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001786/2.065, allocations: 0.9789 MB / 2.013 GB, free: 5.441 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001141/2.067, allocations: 0.8763 MB / 2.013 GB, free: 4.402 MB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001641/2.068, allocations: 1.137 MB / 2.015 GB, free: 3.148 MB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.855e-06/2.068, allocations: 4 kB / 2.015 GB, free: 3.145 MB / 1.467 GB Notification: Performance of matching and sorting (n=166) (initialization_lambda0): time 0.002794/2.071, allocations: 1.555 MB / 2.016 GB, free: 1.578 MB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/2.071, allocations: 8 kB / 2.016 GB, free: 1.57 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/2.071, allocations: 8 kB / 2.016 GB, free: 1.562 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/2.071, allocations: 19.94 kB / 2.016 GB, free: 1.543 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/2.073, allocations: 356.1 kB / 2.016 GB, free: 1.195 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.629e-05/2.073, allocations: 23.92 kB / 2.017 GB, free: 1.172 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002239/2.075, allocations: 183 kB / 2.017 GB, free: 0.9922 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/2.075, allocations: 63.97 kB / 2.017 GB, free: 0.9297 MB / 1.467 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,$whenCondition1,twoTwo.y0_actual.lesHys.y,$PRE.twoTwo.y0_actual.lesHys.y,twoTwo.y1_actual.greHys.y,$PRE.twoTwo.y1_actual.greHys.y,y1.intTimTab.idx,$PRE.y1.intTimTab.idx,y1.intTimTab.y[1],$PRE.y1.intTimTab.y[1],twoThr.y0_actual.lesHys.y,$PRE.twoThr.y0_actual.lesHys.y,twoThr.y1_actual.greHys.y,$PRE.twoThr.y1_actual.greHys.y,bus3.y1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003545/2.075, allocations: 271.8 kB / 2.017 GB, free: 0.6562 MB / 1.467 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005196/2.076, allocations: 288.3 kB / 2.017 GB, free: 380 kB / 1.467 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002297/2.078, allocations: 1.148 MB / 2.018 GB, free: 15.21 MB / 1.482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001433/2.08, allocations: 1.101 MB / 2.019 GB, free: 14.03 MB / 1.482 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/2.08, allocations: 0 / 2.019 GB, free: 14.03 MB / 1.482 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009344/2.081, allocations: 0.4933 MB / 2.02 GB, free: 13.51 MB / 1.482 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004842/2.081, allocations: 31.94 kB / 2.02 GB, free: 13.48 MB / 1.482 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/2.083, allocations: 75.84 kB / 2.02 GB, free: 13.41 MB / 1.482 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/2.083, allocations: 80.88 kB / 2.02 GB, free: 13.32 MB / 1.482 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00295/2.086, allocations: 1.311 MB / 2.021 GB, free: 11.99 MB / 1.482 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002762/2.088, allocations: 1.91 MB / 2.023 GB, free: 10.05 MB / 1.482 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006949/2.089, allocations: 455.8 kB / 2.024 GB, free: 9.609 MB / 1.482 GB Notification: Performance of sorting global known variables: time 0.003108/2.092, allocations: 1.877 MB / 2.026 GB, free: 7.742 MB / 1.482 GB Notification: Performance of Backend: time 6.61e-07/2.092, allocations: 0 / 2.026 GB, free: 7.742 MB / 1.482 GB Notification: Performance of simCode: created initialization part: time 0.006394/2.099, allocations: 2.039 MB / 2.028 GB, free: 5.703 MB / 1.482 GB Notification: Performance of SimCode: time 0.0123/2.111, allocations: 6.436 MB / 2.034 GB, free: 15.28 MB / 1.498 GB Notification: Performance of Templates: time 0.0915/2.203, allocations: 58.52 MB / 2.091 GB, free: 5.316 MB / 1.545 GB make -j1 -f Buildings_latest_Buildings.Templates.Components.Validation.Valves.makefile (rm -f Buildings_latest_Buildings.Templates.Components.Validation.Valves.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Validation.Valves.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Validation.Valves.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Validation.Valves.sim & ./Buildings_latest_Buildings.Templates.Components.Validation.Valves -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Validation.Valves.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.Valves_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Validation_Valves.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Validation.Valves.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches