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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001282/0.001282, allocations: 111.5 kB / 16.42 MB, free: 6.496 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.001255/0.001255, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.323/1.323, 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 12.0.0-master/package.mo): time 2.621/2.621, allocations: 472.7 MB / 0.746 GB, free: 484 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 67.91 kB / 1.07 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6997/0.7011, allocations: 159.9 MB / 1.226 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Dampers): time 0.2355/0.9366, allocations: 256.1 MB / 1.476 GB, free: 12.46 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02602/0.9627, allocations: 19.39 MB / 1.495 GB, free: 9.02 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002993/0.9657, allocations: 79.5 kB / 1.495 GB, free: 8.941 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001853/0.9676, allocations: 0.7763 MB / 1.496 GB, free: 8.16 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.003912/0.9715, allocations: 1.82 MB / 1.498 GB, free: 6.336 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.005038/0.9766, allocations: 2.212 MB / 1.5 GB, free: 4.133 MB / 1.217 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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 12.0.0-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.0037/0.9803, allocations: 3.764 MB / 1.504 GB, free: 364 kB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002019/0.9823, allocations: 1.718 MB / 1.506 GB, free: 14.61 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004763/0.9871, allocations: 2.663 MB / 1.508 GB, free: 11.93 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001946/0.989, allocations: 1.627 MB / 1.51 GB, free: 10.3 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.000402/0.9895, allocations: 275.9 kB / 1.51 GB, free: 10.03 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00287/0.9923, allocations: 1.762 MB / 1.512 GB, free: 8.266 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0007024/0.993, allocations: 0.8025 MB / 1.512 GB, free: 7.461 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001105/0.9942, allocations: 1.19 MB / 1.514 GB, free: 6.266 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003978/0.9981, allocations: 3.913 MB / 1.517 GB, free: 2.34 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.9982, allocations: 0 / 1.517 GB, free: 2.34 MB / 1.232 GB Notification: Performance of FrontEnd: time 3.777e-06/0.9982, allocations: 0 / 1.517 GB, free: 2.34 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.952e-05/0.9982, allocations: 3.938 kB / 1.517 GB, free: 2.336 MB / 1.232 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.005982/1.004, allocations: 2.816 MB / 1.52 GB, free: 15.45 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/1.004, allocations: 8.031 kB / 1.52 GB, free: 15.45 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/1.006, allocations: 302.5 kB / 1.521 GB, free: 15.15 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003005/1.009, allocations: 1.924 MB / 1.522 GB, free: 13.18 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.005e-05/1.009, allocations: 81.98 kB / 1.522 GB, free: 13.1 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002325/1.009, allocations: 112 kB / 1.523 GB, free: 12.99 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001889/1.011, allocations: 1.202 MB / 1.524 GB, free: 11.75 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/1.011, allocations: 4 kB / 1.524 GB, free: 11.75 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.913e-05/1.011, allocations: 36 kB / 1.524 GB, free: 11.71 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.14e-05/1.011, allocations: 42 kB / 1.524 GB, free: 11.67 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/1.013, allocations: 1.105 MB / 1.525 GB, free: 10.57 MB / 1.248 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.007526/1.02, allocations: 5.582 MB / 1.53 GB, free: 4.73 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/1.022, allocations: 0.7851 MB / 1.531 GB, free: 3.938 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006567/1.022, allocations: 418 kB / 1.532 GB, free: 3.523 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003341/1.023, allocations: 283.7 kB / 1.532 GB, free: 3.191 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008734/1.024, allocations: 0.5526 MB / 1.532 GB, free: 2.613 MB / 1.248 GB Notification: Performance of pre-optimization done (n=51): time 4.138e-06/1.024, allocations: 0 / 1.532 GB, free: 2.613 MB / 1.248 GB Notification: Performance of matching and sorting (n=51): time 0.003748/1.027, allocations: 1.643 MB / 1.534 GB, free: 0.9414 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.032e-05/1.028, allocations: 162.2 kB / 1.534 GB, free: 0.7461 MB / 1.248 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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 12.0.0-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.003655/1.031, allocations: 2.442 MB / 1.536 GB, free: 14.26 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.000226/1.031, allocations: 45.7 kB / 1.537 GB, free: 14.21 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007206/1.032, allocations: 0.7746 MB / 1.537 GB, free: 13.43 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/1.032, allocations: 182.5 kB / 1.537 GB, free: 13.25 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005181/1.033, allocations: 262.4 kB / 1.538 GB, free: 12.99 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.033, allocations: 349.9 kB / 1.538 GB, free: 12.64 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001815/1.035, allocations: 1.133 MB / 1.539 GB, free: 11.5 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002233/1.037, allocations: 1.553 MB / 1.541 GB, free: 9.793 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002546/1.04, allocations: 1.717 MB / 1.542 GB, free: 8.016 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.04, allocations: 0 / 1.542 GB, free: 8.016 MB / 1.264 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.004569/1.044, allocations: 2.514 MB / 1.545 GB, free: 5.488 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/1.044, allocations: 10.19 kB / 1.545 GB, free: 5.48 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/1.044, allocations: 7.938 kB / 1.545 GB, free: 5.473 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006314/1.045, allocations: 153.5 kB / 1.545 GB, free: 5.32 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/1.046, allocations: 247.7 kB / 1.545 GB, free: 5.078 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/1.048, allocations: 2.416 MB / 1.548 GB, free: 2.566 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002297/1.05, allocations: 231 kB / 1.548 GB, free: 2.34 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/1.051, allocations: 31.98 kB / 1.548 GB, free: 2.309 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002393/1.053, allocations: 1.463 MB / 1.549 GB, free: 0.8438 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002221/1.055, allocations: 1.566 MB / 1.551 GB, free: 15.11 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002488/1.058, allocations: 1.711 MB / 1.552 GB, free: 13.34 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.471e-06/1.058, allocations: 7.938 kB / 1.552 GB, free: 13.33 MB / 1.279 GB Notification: Performance of matching and sorting (n=128) (initialization_lambda0): time 0.004504/1.062, allocations: 2.466 MB / 1.555 GB, free: 10.85 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/1.062, allocations: 4.562 kB / 1.555 GB, free: 10.85 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/1.062, allocations: 11.94 kB / 1.555 GB, free: 10.84 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/1.062, allocations: 15.94 kB / 1.555 GB, free: 10.82 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/1.063, allocations: 215.7 kB / 1.555 GB, free: 10.61 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/1.064, allocations: 11.98 kB / 1.555 GB, free: 10.6 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002294/1.066, allocations: 227.8 kB / 1.555 GB, free: 10.38 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/1.066, allocations: 35.98 kB / 1.555 GB, free: 10.34 MB / 1.279 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.0003783/1.066, allocations: 258.3 kB / 1.556 GB, free: 10.08 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003009/1.067, allocations: 182.7 kB / 1.556 GB, free: 9.902 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002262/1.069, allocations: 1.079 MB / 1.557 GB, free: 8.809 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/1.069, allocations: 11.92 kB / 1.557 GB, free: 8.797 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/1.069, allocations: 0 / 1.557 GB, free: 8.797 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006566/1.07, allocations: 419.6 kB / 1.557 GB, free: 8.367 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002468/1.07, allocations: 28.02 kB / 1.557 GB, free: 8.34 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/1.071, allocations: 71.95 kB / 1.557 GB, free: 8.27 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/1.071, allocations: 67.75 kB / 1.557 GB, free: 8.203 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002853/1.074, allocations: 1.52 MB / 1.559 GB, free: 6.664 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002929/1.077, allocations: 2.134 MB / 1.561 GB, free: 4.504 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007532/1.078, allocations: 468.3 kB / 1.561 GB, free: 4.047 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.00257/1.08, allocations: 1.72 MB / 1.563 GB, free: 2.305 MB / 1.279 GB Notification: Performance of Backend: time 4.01e-07/1.08, allocations: 0 / 1.563 GB, free: 2.305 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.545/1.625, allocations: 3.243 MB / 1.566 GB, free: 338.1 MB / 1.279 GB Notification: Performance of SimCode: time 0.007108/1.633, allocations: 3.753 MB / 1.57 GB, free: 336.2 MB / 1.279 GB Notification: Performance of Templates: time 0.05948/1.692, allocations: 47.29 MB / 1.616 GB, free: 303.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