Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.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.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTPriSup.T|TSetSecAct.y|senTSecRet.T|senTSecSup.T|mod.y|mSec_flow.y|disFlo.PPum|disFlo.val.y_actual",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTPriSup.T|TSetSecAct.y|senTSecRet.T|senTSecSup.T|mod.y|mSec_flow.y|disFlo.PPum|disFlo.val.y_actual",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 112.8 kB / 16.42 MB, free: 6.008 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.001843/0.001843, allocations: 187 kB / 17.35 MB, free: 5.625 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.634/1.634, 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 9.1.3-maint.9.1.x/package.mo): time 2.422/2.422, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 59.91 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.073/1.075, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter disFlo.pumFlo.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl): time 0.1964/1.272, allocations: 177 MB / 1.261 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.06871/1.34, allocations: 38.64 MB / 1.299 GB, free: 6.055 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01313/1.354, allocations: 210.8 kB / 1.299 GB, free: 5.848 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.009045/1.363, allocations: 2.26 MB / 1.302 GB, free: 3.574 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.022/1.385, allocations: 5.714 MB / 1.307 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.01579/1.401, allocations: 4.786 MB / 1.312 GB, free: 9.09 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.02078/1.421, allocations: 11.26 MB / 1.323 GB, free: 13.8 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01125/1.433, allocations: 4.317 MB / 1.327 GB, free: 9.398 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01625/1.449, allocations: 4.655 MB / 1.332 GB, free: 4.738 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009175/1.458, allocations: 3.053 MB / 1.335 GB, free: 1.672 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.002447/1.461, allocations: 472 kB / 1.335 GB, free: 1.211 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009625/1.47, allocations: 2.929 MB / 1.338 GB, free: 14.28 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002348/1.473, allocations: 1.141 MB / 1.339 GB, free: 13.13 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.005576/1.478, allocations: 2.411 MB / 1.341 GB, free: 10.71 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01729/1.496, allocations: 8.068 MB / 1.349 GB, free: 2.621 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.496, allocations: 0 / 1.349 GB, free: 2.621 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.914e-06/1.496, allocations: 0 / 1.349 GB, free: 2.621 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002945/1.496, allocations: 0 / 1.349 GB, free: 2.621 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 619 * Number of variables: 619 Notification: Performance of Generate backend data structure: time 0.01565/1.512, allocations: 4.84 MB / 1.354 GB, free: 13.68 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/1.512, allocations: 8.031 kB / 1.354 GB, free: 13.68 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003234/1.515, allocations: 0.6311 MB / 1.355 GB, free: 13.04 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009649/1.525, allocations: 3.995 MB / 1.359 GB, free: 8.98 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002458/1.525, allocations: 204.9 kB / 1.359 GB, free: 8.777 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009273/1.526, allocations: 272 kB / 1.359 GB, free: 8.512 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008694/1.535, allocations: 2.86 MB / 1.362 GB, free: 5.473 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001119/1.535, allocations: 11.94 kB / 1.362 GB, free: 5.461 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005794/1.535, allocations: 112 kB / 1.362 GB, free: 5.352 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001097/1.535, allocations: 84.53 kB / 1.362 GB, free: 5.266 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005808/1.541, allocations: 2.075 MB / 1.364 GB, free: 3.176 MB / 1.092 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.02783/1.569, allocations: 15.11 MB / 1.379 GB, free: 3.117 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003447/1.573, allocations: 1.528 MB / 1.38 GB, free: 1.527 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001495/1.574, allocations: 0.7068 MB / 1.381 GB, free: 0.8164 MB / 1.107 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 evalFunc (simulation): time 0.009282/1.583, allocations: 5.162 MB / 1.386 GB, free: 11.1 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001789/1.585, allocations: 0.8356 MB / 1.387 GB, free: 10.25 MB / 1.123 GB Notification: Performance of pre-optimization done (n=118): time 5.931e-06/1.585, allocations: 4 kB / 1.387 GB, free: 10.25 MB / 1.123 GB Notification: Performance of matching and sorting (n=118): time 0.005498/1.591, allocations: 2.096 MB / 1.389 GB, free: 8.117 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/1.591, allocations: 123.8 kB / 1.389 GB, free: 7.973 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006837/1.598, allocations: 3.13 MB / 1.392 GB, free: 4.863 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0003574/1.598, allocations: 61.7 kB / 1.392 GB, free: 4.797 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.00215/1.6, allocations: 1.738 MB / 1.394 GB, free: 3.043 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006302/1.601, allocations: 406.2 kB / 1.394 GB, free: 2.641 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001016/1.602, allocations: 435.1 kB / 1.395 GB, free: 2.211 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001155/1.602, allocations: 301.1 kB / 1.395 GB, free: 1.914 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001715/1.604, allocations: 0.7544 MB / 1.396 GB, free: 1.156 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002262/1.606, allocations: 1.427 MB / 1.397 GB, free: 15.44 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003774/1.61, allocations: 2.144 MB / 1.399 GB, free: 13.03 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.968e-05/1.61, allocations: 4 kB / 1.399 GB, free: 13.03 MB / 1.139 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.006264/1.616, allocations: 2.591 MB / 1.402 GB, free: 10.41 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 8.65e-05/1.616, allocations: 79.45 kB / 1.402 GB, free: 10.32 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.959e-05/1.616, allocations: 20 kB / 1.402 GB, free: 10.3 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002883/1.617, allocations: 68.83 kB / 1.402 GB, free: 10.23 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001818/1.618, allocations: 415.3 kB / 1.402 GB, free: 9.824 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002508/1.621, allocations: 2.466 MB / 1.405 GB, free: 7.184 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002868/1.624, allocations: 297.8 kB / 1.405 GB, free: 6.891 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002619/1.624, allocations: 119.9 kB / 1.405 GB, free: 6.773 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003135/1.627, allocations: 1.406 MB / 1.406 GB, free: 5.363 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002233/1.629, allocations: 1.376 MB / 1.408 GB, free: 3.703 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003533/1.633, allocations: 2.066 MB / 1.41 GB, free: 1.371 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.065e-05/1.633, allocations: 4 kB / 1.41 GB, free: 1.367 MB / 1.139 GB Notification: Performance of matching and sorting (n=236) (initialization_lambda0): time 0.005684/1.639, allocations: 2.505 MB / 1.412 GB, free: 14.83 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 8.238e-05/1.639, allocations: 75.39 kB / 1.412 GB, free: 14.75 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.612e-05/1.639, allocations: 20 kB / 1.412 GB, free: 14.73 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001988/1.639, allocations: 76.77 kB / 1.412 GB, free: 14.65 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/1.641, allocations: 415.4 kB / 1.413 GB, free: 14.24 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/1.642, allocations: 1.786 MB / 1.414 GB, free: 12.31 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003019/1.645, allocations: 230.7 kB / 1.415 GB, free: 12.08 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002683/1.646, allocations: 116.1 kB / 1.415 GB, free: 11.97 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,disFlo.conVal.resConTSup.cheYMinMax.y,modCha.y,$PRE.modCha.y,mSec_flow.booPul.y,$PRE.mSec_flow.booPul.y,disFlo.conVal.cha.down,disFlo.conVal.cha.up,disFlo.conVal.cha.y,disFlo.conVal.cha.u,$PRE.disFlo.conVal.cha.u,disFlo.conVal.toBoo.y,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (225): * Single equations (assignments): 220 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007321/1.646, allocations: 323.5 kB / 1.415 GB, free: 11.64 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001297/1.648, allocations: 339.7 kB / 1.415 GB, free: 11.31 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005036/1.653, allocations: 1.97 MB / 1.417 GB, free: 9.355 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002818/1.656, allocations: 1.458 MB / 1.419 GB, free: 7.848 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/1.656, allocations: 0 / 1.419 GB, free: 7.848 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002038/1.658, allocations: 0.6252 MB / 1.419 GB, free: 7.199 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000968/1.659, allocations: 28 kB / 1.419 GB, free: 7.172 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001956/1.661, allocations: 79.86 kB / 1.419 GB, free: 7.094 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002107/1.661, allocations: 89.19 kB / 1.42 GB, free: 7.008 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004445/1.665, allocations: 1.88 MB / 1.421 GB, free: 5.109 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005709/1.671, allocations: 2.894 MB / 1.424 GB, free: 2.195 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001386/1.672, allocations: 0.7013 MB / 1.425 GB, free: 1.496 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.004865/1.677, allocations: 2.098 MB / 1.427 GB, free: 15.42 MB / 1.17 GB Notification: Performance of Backend: time 9.72e-07/1.677, allocations: 0 / 1.427 GB, free: 15.42 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01158/1.689, allocations: 3.838 MB / 1.431 GB, free: 11.53 MB / 1.17 GB Notification: Performance of SimCode: time 0.01937/1.708, allocations: 7.657 MB / 1.438 GB, free: 3.871 MB / 1.17 GB Notification: Performance of Templates: time 0.1386/1.847, allocations: 77.04 MB / 1.513 GB, free: 7.613 MB / 1.248 GB make -j1 -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.makefile (rm -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.sim & ./Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Experimental_DHC_Loads_BaseClasses_Controls_Validation_MixingValveControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches