Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Components.Validation.Dampers.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.Dampers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod.bus.y|mod.bus.y_actual|mod.m_flow|mod.m_flow_nominal|pre.bus.y|pre.bus.y_actual|pre.m_flow|pre.m_flow_nominal|two.bus.y1|two.bus.y1_actual|two.m_flow|two.m_flow_nominal|non.m_flow|non.m_flow_nominal",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.Dampers") translateModel(Buildings.Templates.Components.Validation.Dampers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod.bus.y|mod.bus.y_actual|mod.m_flow|mod.m_flow_nominal|pre.bus.y|pre.bus.y_actual|pre.m_flow|pre.m_flow_nominal|two.bus.y1|two.bus.y1_actual|two.m_flow|two.m_flow_nominal|non.m_flow|non.m_flow_nominal",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.Dampers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 110.2 kB / 16.41 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.001776/0.001776, allocations: 185.5 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.311/1.311, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.574/2.574, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 60.12 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7424/0.7438, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Dampers): time 0.2468/0.9907, allocations: 256.2 MB / 1.459 GB, free: 12.57 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.03922/1.03, allocations: 19.39 MB / 1.477 GB, free: 9.113 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004023/1.034, allocations: 79.5 kB / 1.478 GB, free: 9.035 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002934/1.037, allocations: 0.7607 MB / 1.478 GB, free: 8.27 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005162/1.042, allocations: 1.746 MB / 1.48 GB, free: 6.516 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.006071/1.048, allocations: 2.206 MB / 1.482 GB, free: 4.32 MB / 1.201 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Templates/Components/Data/Damper.mo:9:3-15:71: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/Damper.mo:16:3-25:71:writable] Warning: Parameter non.dat.dp_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=if non.dat.typ == Buildings.Templates.Components.Types.Damper.None then 0.0 else if non.dat.typ == Buildings.Templates.Components.Types.Damper.PressureIndependent then 50.0 else 15.0) as default value. Notification: Performance of NFFlatten.flatten: time 0.005013/1.053, allocations: 3.752 MB / 1.486 GB, free: 0.5586 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002856/1.056, allocations: 1.714 MB / 1.488 GB, free: 14.81 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005563/1.062, allocations: 2.608 MB / 1.49 GB, free: 12.2 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002734/1.065, allocations: 1.631 MB / 1.492 GB, free: 10.56 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0007185/1.065, allocations: 272 kB / 1.492 GB, free: 10.29 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003304/1.069, allocations: 1.755 MB / 1.494 GB, free: 8.535 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0007772/1.069, allocations: 0.8064 MB / 1.494 GB, free: 7.727 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001307/1.071, allocations: 1.186 MB / 1.496 GB, free: 6.535 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004367/1.075, allocations: 3.907 MB / 1.499 GB, free: 2.617 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.075, allocations: 0 / 1.499 GB, free: 2.617 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.653e-06/1.075, allocations: 0 / 1.499 GB, free: 2.617 MB / 1.217 GB Notification: Performance of Transformations before backend: time 3.415e-05/1.075, allocations: 0 / 1.499 GB, free: 2.617 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.006433/1.082, allocations: 2.748 MB / 1.502 GB, free: 15.81 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/1.082, allocations: 12.02 kB / 1.502 GB, free: 15.8 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/1.083, allocations: 293.2 kB / 1.502 GB, free: 15.51 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003157/1.086, allocations: 1.895 MB / 1.504 GB, free: 13.56 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.881e-05/1.086, allocations: 82 kB / 1.504 GB, free: 13.48 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002417/1.087, allocations: 123.9 kB / 1.504 GB, free: 13.36 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001968/1.089, allocations: 1.198 MB / 1.506 GB, free: 12.13 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/1.089, allocations: 0 / 1.506 GB, free: 12.13 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-05/1.089, allocations: 40 kB / 1.506 GB, free: 12.09 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-05/1.089, allocations: 37.98 kB / 1.506 GB, free: 12.05 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/1.091, allocations: 1.101 MB / 1.507 GB, free: 10.95 MB / 1.232 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.008859/1.099, allocations: 5.574 MB / 1.512 GB, free: 5.125 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/1.101, allocations: 0.7856 MB / 1.513 GB, free: 4.328 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006984/1.102, allocations: 422 kB / 1.513 GB, free: 3.914 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003326/1.102, allocations: 279.7 kB / 1.514 GB, free: 3.586 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009463/1.103, allocations: 0.5526 MB / 1.514 GB, free: 3.008 MB / 1.232 GB Notification: Performance of pre-optimization done (n=51): time 3.066e-06/1.103, allocations: 0 / 1.514 GB, free: 3.008 MB / 1.232 GB Notification: Performance of matching and sorting (n=51): time 0.004191/1.107, allocations: 1.629 MB / 1.516 GB, free: 1.348 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.733e-05/1.107, allocations: 162.2 kB / 1.516 GB, free: 1.152 MB / 1.232 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Templates/Components/Data/Damper.mo:16:3-25:71:writable] Warning: Parameter non.dat.dp_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/Damper.mo:9:3-15:71: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.004029/1.111, allocations: 2.443 MB / 1.518 GB, free: 14.67 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0003327/1.112, allocations: 53.7 kB / 1.518 GB, free: 14.61 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007458/1.112, allocations: 0.7583 MB / 1.519 GB, free: 13.84 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/1.113, allocations: 177.5 kB / 1.519 GB, free: 13.67 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004956/1.113, allocations: 258.3 kB / 1.519 GB, free: 13.41 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001225/1.113, allocations: 349.9 kB / 1.52 GB, free: 13.06 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00177/1.115, allocations: 1.129 MB / 1.521 GB, free: 11.93 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002166/1.117, allocations: 1.561 MB / 1.522 GB, free: 10.21 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002491/1.12, allocations: 1.715 MB / 1.524 GB, free: 8.438 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/1.12, allocations: 4 kB / 1.524 GB, free: 8.434 MB / 1.248 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.004732/1.124, allocations: 2.506 MB / 1.527 GB, free: 5.91 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/1.125, allocations: 8 kB / 1.527 GB, free: 5.902 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/1.125, allocations: 4 kB / 1.527 GB, free: 5.898 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006581/1.125, allocations: 160.9 kB / 1.527 GB, free: 5.738 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/1.127, allocations: 243.7 kB / 1.527 GB, free: 5.5 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001501/1.128, allocations: 2.416 MB / 1.529 GB, free: 2.988 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002434/1.131, allocations: 226.6 kB / 1.53 GB, free: 2.766 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/1.131, allocations: 39.98 kB / 1.53 GB, free: 2.727 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002464/1.133, allocations: 1.463 MB / 1.531 GB, free: 1.262 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002172/1.136, allocations: 1.558 MB / 1.533 GB, free: 15.54 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002505/1.138, allocations: 1.709 MB / 1.534 GB, free: 13.77 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.452e-06/1.138, allocations: 0 / 1.534 GB, free: 13.77 MB / 1.264 GB Notification: Performance of matching and sorting (n=128) (initialization_lambda0): time 0.004553/1.143, allocations: 2.459 MB / 1.537 GB, free: 11.3 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/1.143, allocations: 8.562 kB / 1.537 GB, free: 11.29 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/1.143, allocations: 11.94 kB / 1.537 GB, free: 11.28 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/1.143, allocations: 12 kB / 1.537 GB, free: 11.27 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/1.144, allocations: 211.7 kB / 1.537 GB, free: 11.06 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.782e-05/1.144, allocations: 11.94 kB / 1.537 GB, free: 11.05 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002651/1.147, allocations: 243.6 kB / 1.537 GB, free: 10.81 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/1.147, allocations: 35.98 kB / 1.537 GB, free: 10.77 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition2,$whenCondition1,pre.ind.idx_sorted[13],pre.ind.idx_sorted[12],pre.ind.idx_sorted[11],pre.ind.idx_sorted[10],pre.ind.idx_sorted[9],pre.ind.idx_sorted[8],pre.ind.idx_sorted[7],pre.ind.idx_sorted[6],pre.ind.idx_sorted[5],pre.ind.idx_sorted[4],pre.ind.idx_sorted[3],pre.ind.idx_sorted[2],pre.ind.idx_sorted[1],y1.intTimTab.idx,$PRE.y1.intTimTab.idx,y1.intTimTab.y[1],$PRE.y1.intTimTab.y[1],two.y1_actual.greHys.y,$PRE.two.y1_actual.greHys.y,two.y0_actual.lesHys.y,$PRE.two.y0_actual.lesHys.y,bus2.y1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 81 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003963/1.147, allocations: 250.4 kB / 1.537 GB, free: 10.52 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005948/1.148, allocations: 169.8 kB / 1.538 GB, free: 10.36 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002366/1.15, allocations: 1.092 MB / 1.539 GB, free: 9.258 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/1.15, allocations: 0 / 1.539 GB, free: 9.258 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/1.15, allocations: 4 kB / 1.539 GB, free: 9.254 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000912/1.151, allocations: 422.6 kB / 1.539 GB, free: 8.82 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004776/1.152, allocations: 16 kB / 1.539 GB, free: 8.805 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/1.153, allocations: 67.89 kB / 1.539 GB, free: 8.738 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/1.153, allocations: 63.81 kB / 1.539 GB, free: 8.676 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002915/1.156, allocations: 1.524 MB / 1.541 GB, free: 7.129 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003042/1.159, allocations: 2.129 MB / 1.543 GB, free: 4.973 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007677/1.16, allocations: 455.8 kB / 1.543 GB, free: 4.527 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002987/1.163, allocations: 1.72 MB / 1.545 GB, free: 2.785 MB / 1.264 GB Notification: Performance of Backend: time 6.62e-07/1.163, allocations: 3.938 kB / 1.545 GB, free: 2.781 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.008073/1.171, allocations: 3.239 MB / 1.548 GB, free: 15.53 MB / 1.279 GB Notification: Performance of SimCode: time 0.007133/1.178, allocations: 3.705 MB / 1.552 GB, free: 11.79 MB / 1.279 GB Notification: Performance of Templates: time 0.607/1.785, allocations: 47.29 MB / 1.598 GB, free: 332.2 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Templates.Components.Validation.Dampers.makefile (rm -f Buildings_latest_Buildings.Templates.Components.Validation.Dampers.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Validation.Dampers.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Validation.Dampers.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Validation.Dampers.sim & ./Buildings_latest_Buildings.Templates.Components.Validation.Dampers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Validation.Dampers.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.Dampers_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Validation_Dampers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Validation.Dampers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches