Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Templates.Components.Validation.Dampers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod.bus.y|mod.bus.y_actual|mod.dam.m_flow|mod.dam.m_flow_nominal|pre.bus.y|pre.bus.y_actual|pre.dam.m_flow|pre.dam.m_flow_nominal|two.bus.y1|two.bus.y1_actual|two.dam.m_flow|two.dam.m_flow_nominal|non.m_flow|non.m_flow_nominal",fileNamePrefix="Buildings_10_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.dam.m_flow|mod.dam.m_flow_nominal|pre.bus.y|pre.bus.y_actual|pre.dam.m_flow|pre.dam.m_flow_nominal|two.bus.y1|two.bus.y1_actual|two.dam.m_flow|two.dam.m_flow_nominal|non.m_flow|non.m_flow_nominal",fileNamePrefix="Buildings_10_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.001604/0.001604, allocations: 110.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.001753/0.001753, allocations: 189.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.347/1.347, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.415/2.415, allocations: 437 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 64.12 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7393/0.7406, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Dampers): time 0.212/0.9527, allocations: 206.4 MB / 1.369 GB, free: 4.613 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01121/0.9639, allocations: 6.688 MB / 1.375 GB, free: 13.91 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/0.9656, allocations: 39.75 kB / 1.375 GB, free: 13.87 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002138/0.9678, allocations: 0.7143 MB / 1.376 GB, free: 13.15 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004497/0.9723, allocations: 1.779 MB / 1.378 GB, free: 11.36 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00487/0.9772, allocations: 1.94 MB / 1.38 GB, free: 9.438 MB / 1.107 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 10.1.1-maint.10.0.x/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.004308/0.9815, allocations: 3.501 MB / 1.383 GB, free: 5.93 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002438/0.984, allocations: 1.568 MB / 1.385 GB, free: 4.328 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004867/0.9889, allocations: 2.386 MB / 1.387 GB, free: 1.934 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002468/0.9914, allocations: 1.589 MB / 1.389 GB, free: 348 kB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0008157/0.9922, allocations: 264 kB / 1.389 GB, free: 84 kB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003689/0.9959, allocations: 1.755 MB / 1.391 GB, free: 14.32 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001145/0.997, allocations: 0.7829 MB / 1.391 GB, free: 13.54 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002242/0.9993, allocations: 1.147 MB / 1.392 GB, free: 12.39 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005985/1.005, allocations: 3.806 MB / 1.396 GB, free: 8.57 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.005, allocations: 0 / 1.396 GB, free: 8.57 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.987e-06/1.005, allocations: 3.984 kB / 1.396 GB, free: 8.566 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.993e-05/1.005, allocations: 0 / 1.396 GB, free: 8.566 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.008426/1.014, allocations: 2.674 MB / 1.399 GB, free: 5.832 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/1.014, allocations: 8.922 kB / 1.399 GB, free: 5.824 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001762/1.016, allocations: 285.3 kB / 1.399 GB, free: 5.543 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00395/1.02, allocations: 1.859 MB / 1.401 GB, free: 3.633 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.16e-05/1.02, allocations: 78 kB / 1.401 GB, free: 3.559 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003662/1.02, allocations: 112 kB / 1.401 GB, free: 3.449 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/1.022, allocations: 1.147 MB / 1.402 GB, free: 2.266 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/1.022, allocations: 0 / 1.402 GB, free: 2.266 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.249e-05/1.023, allocations: 36 kB / 1.402 GB, free: 2.23 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.863e-05/1.023, allocations: 41.92 kB / 1.402 GB, free: 2.191 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002069/1.025, allocations: 1.074 MB / 1.403 GB, free: 1.117 MB / 1.123 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.01016/1.035, allocations: 5.386 MB / 1.409 GB, free: 11.49 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/1.036, allocations: 0.7749 MB / 1.409 GB, free: 10.7 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008425/1.037, allocations: 426 kB / 1.41 GB, free: 10.29 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004499/1.038, allocations: 283.7 kB / 1.41 GB, free: 9.953 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001165/1.039, allocations: 0.5564 MB / 1.411 GB, free: 9.371 MB / 1.139 GB Notification: Performance of pre-optimization done (n=51): time 4.158e-06/1.039, allocations: 0 / 1.411 GB, free: 9.371 MB / 1.139 GB Notification: Performance of matching and sorting (n=51): time 0.003621/1.043, allocations: 1.388 MB / 1.412 GB, free: 7.977 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.656e-05/1.043, allocations: 170.2 kB / 1.412 GB, free: 7.773 MB / 1.139 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 10.1.1-maint.10.0.x/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.004741/1.047, allocations: 2.388 MB / 1.414 GB, free: 5.34 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002035/1.048, allocations: 53.7 kB / 1.414 GB, free: 5.281 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008296/1.049, allocations: 0.7384 MB / 1.415 GB, free: 4.535 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/1.049, allocations: 169.5 kB / 1.415 GB, free: 4.367 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006044/1.049, allocations: 254.5 kB / 1.416 GB, free: 4.109 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001552/1.05, allocations: 357.9 kB / 1.416 GB, free: 3.754 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001932/1.051, allocations: 1.129 MB / 1.417 GB, free: 2.625 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002309/1.054, allocations: 1.548 MB / 1.419 GB, free: 0.9219 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002721/1.057, allocations: 1.723 MB / 1.42 GB, free: 15.14 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/1.057, allocations: 0 / 1.42 GB, free: 15.14 MB / 1.154 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.004582/1.061, allocations: 2.454 MB / 1.423 GB, free: 12.68 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/1.061, allocations: 8 kB / 1.423 GB, free: 12.67 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/1.061, allocations: 4.5 kB / 1.423 GB, free: 12.67 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/1.061, allocations: 12 kB / 1.423 GB, free: 12.66 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/1.063, allocations: 259.5 kB / 1.423 GB, free: 12.4 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/1.064, allocations: 1.781 MB / 1.425 GB, free: 10.55 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002296/1.066, allocations: 231.2 kB / 1.425 GB, free: 10.32 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/1.067, allocations: 31.98 kB / 1.425 GB, free: 10.29 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002447/1.069, allocations: 1.451 MB / 1.426 GB, free: 8.84 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002335/1.071, allocations: 1.562 MB / 1.428 GB, free: 7.117 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002674/1.074, allocations: 1.722 MB / 1.429 GB, free: 5.328 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.306e-06/1.074, allocations: 4 kB / 1.429 GB, free: 5.324 MB / 1.154 GB Notification: Performance of matching and sorting (n=128) (initialization_lambda0): time 0.00452/1.079, allocations: 2.455 MB / 1.432 GB, free: 2.863 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/1.079, allocations: 12.09 kB / 1.432 GB, free: 2.852 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/1.079, allocations: 4 kB / 1.432 GB, free: 2.848 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/1.079, allocations: 11.94 kB / 1.432 GB, free: 2.836 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/1.08, allocations: 207.7 kB / 1.432 GB, free: 2.633 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.827e-05/1.08, allocations: 8 kB / 1.432 GB, free: 2.625 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002525/1.082, allocations: 227.8 kB / 1.432 GB, free: 2.398 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/1.083, allocations: 35.98 kB / 1.432 GB, free: 2.363 MB / 1.154 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.dam.idx_sorted[13],pre.dam.idx_sorted[12],pre.dam.idx_sorted[11],pre.dam.idx_sorted[10],pre.dam.idx_sorted[9],pre.dam.idx_sorted[8],pre.dam.idx_sorted[7],pre.dam.idx_sorted[6],pre.dam.idx_sorted[5],pre.dam.idx_sorted[4],pre.dam.idx_sorted[3],pre.dam.idx_sorted[2],pre.dam.idx_sorted[1],y1.intTimTab.idx,$PRE.y1.intTimTab.idx,y1.intTimTab.y[1],$PRE.y1.intTimTab.y[1],two.evaClo.lesHys.y,$PRE.two.evaClo.lesHys.y,two.evaOpe.greHys.y,$PRE.two.evaOpe.greHys.y,bus2.y1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 86 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004276/1.083, allocations: 242.3 kB / 1.433 GB, free: 2.121 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005099/1.084, allocations: 169.8 kB / 1.433 GB, free: 1.953 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002183/1.086, allocations: 1.03 MB / 1.434 GB, free: 0.918 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/1.086, allocations: 3.984 kB / 1.434 GB, free: 0.9141 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/1.086, allocations: 4 kB / 1.434 GB, free: 0.9102 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008699/1.087, allocations: 410.7 kB / 1.434 GB, free: 500 kB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004172/1.087, allocations: 19.98 kB / 1.434 GB, free: 480 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/1.088, allocations: 71.94 kB / 1.434 GB, free: 408 kB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/1.089, allocations: 55.86 kB / 1.434 GB, free: 352 kB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00275/1.091, allocations: 1.469 MB / 1.436 GB, free: 14.86 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003132/1.095, allocations: 2.117 MB / 1.438 GB, free: 12.72 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008089/1.095, allocations: 473.8 kB / 1.438 GB, free: 12.26 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002929/1.098, allocations: 1.683 MB / 1.44 GB, free: 10.55 MB / 1.17 GB Notification: Performance of Backend: time 5.81e-07/1.098, allocations: 0 / 1.44 GB, free: 10.55 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.008106/1.106, allocations: 3.221 MB / 1.443 GB, free: 7.312 MB / 1.17 GB Notification: Performance of SimCode: time 0.006859/1.113, allocations: 3.552 MB / 1.447 GB, free: 3.715 MB / 1.17 GB Notification: Performance of Templates: time 0.07187/1.185, allocations: 46.33 MB / 1.492 GB, free: 5.695 MB / 1.217 GB make -j1 -f Buildings_10_Buildings.Templates.Components.Validation.Dampers.makefile (rm -f Buildings_10_Buildings.Templates.Components.Validation.Dampers.pipe ; mkfifo Buildings_10_Buildings.Templates.Components.Validation.Dampers.pipe ; head -c 1048576 < Buildings_10_Buildings.Templates.Components.Validation.Dampers.pipe >> ../files/Buildings_10_Buildings.Templates.Components.Validation.Dampers.sim & ./Buildings_10_Buildings.Templates.Components.Validation.Dampers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Templates.Components.Validation.Dampers.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Templates.Components.Validation.Dampers_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Templates_Components_Validation_Dampers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Templates.Components.Validation.Dampers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches