Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl") translateModel(Buildings.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_11_Buildings.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.001683/0.001683, allocations: 120.2 kB / 16.81 MB, free: 5.758 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.001897/0.001897, allocations: 192.7 kB / 17.77 MB, free: 5.133 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.449/1.449, allocations: 225.6 MB / 244.2 MB, free: 13.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.829/2.829, allocations: 476.7 MB / 0.7556 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 63.3 kB / 1.097 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3326, allocations: 168.7 MB / 1.262 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl): time 0.1966/0.5293, allocations: 179 MB / 1.437 GB, free: 9.293 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.06752/0.5968, allocations: 40.73 MB / 1.477 GB, free: 476 kB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01002/0.6068, allocations: 218.8 kB / 1.477 GB, free: 256 kB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.009754/0.6166, allocations: 3.076 MB / 1.48 GB, free: 13.16 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01835/0.6349, allocations: 5.824 MB / 1.486 GB, free: 7.312 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.01379/0.6487, allocations: 4.948 MB / 1.49 GB, free: 2.398 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.02887/0.6776, allocations: 17 MB / 1.507 GB, free: 1.359 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009065/0.6866, allocations: 3.395 MB / 1.51 GB, free: 13.88 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01352/0.7001, allocations: 4.67 MB / 1.515 GB, free: 9.199 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00722/0.7074, allocations: 3.294 MB / 1.518 GB, free: 5.895 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.002225/0.7096, allocations: 488 kB / 1.519 GB, free: 5.418 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008991/0.7186, allocations: 3.358 MB / 1.522 GB, free: 2.055 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.002387/0.721, allocations: 1.32 MB / 1.523 GB, free: 0.7305 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.005383/0.7263, allocations: 2.586 MB / 1.526 GB, free: 14.13 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.01671/0.7431, allocations: 8.6 MB / 1.534 GB, free: 5.504 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.7431, allocations: 0 / 1.534 GB, free: 5.504 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7431, allocations: 4 kB / 1.534 GB, free: 5.5 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0002422/0.7433, allocations: 0 / 1.534 GB, free: 5.5 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 623 * Number of variables: 623 Notification: Performance of Generate backend data structure: time 0.01337/0.7567, allocations: 5.351 MB / 1.539 GB, free: 44 kB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.7567, allocations: 12.03 kB / 1.539 GB, free: 32 kB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003604/0.7603, allocations: 0.7311 MB / 1.54 GB, free: 15.29 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01246/0.7728, allocations: 4.995 MB / 1.545 GB, free: 10.24 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002173/0.773, allocations: 204.9 kB / 1.545 GB, free: 10.04 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007626/0.7738, allocations: 268 kB / 1.545 GB, free: 9.777 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006533/0.7803, allocations: 3.008 MB / 1.548 GB, free: 6.594 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-05/0.7804, allocations: 11.89 kB / 1.548 GB, free: 6.582 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002983/0.7807, allocations: 108 kB / 1.548 GB, free: 6.477 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.762e-05/0.7808, allocations: 92.55 kB / 1.548 GB, free: 6.383 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004929/0.7857, allocations: 2.172 MB / 1.551 GB, free: 4.195 MB / 1.264 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.7563/1.542, allocations: 15.66 MB / 1.566 GB, free: 274.4 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004054/1.546, allocations: 1.585 MB / 1.567 GB, free: 273.6 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002008/1.548, allocations: 0.7141 MB / 1.568 GB, free: 273.4 MB / 1.264 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.009296/1.557, allocations: 5.469 MB / 1.573 GB, free: 269.2 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001975/1.559, allocations: 0.9634 MB / 1.574 GB, free: 268.9 MB / 1.264 GB Notification: Performance of pre-optimization done (n=120): time 3.938e-06/1.559, allocations: 5.125 kB / 1.574 GB, free: 268.9 MB / 1.264 GB Notification: Performance of matching and sorting (n=120): time 0.005695/1.565, allocations: 2.319 MB / 1.577 GB, free: 268 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/1.565, allocations: 117.1 kB / 1.577 GB, free: 267.9 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007227/1.572, allocations: 3.6 MB / 1.58 GB, free: 266.5 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0005178/1.573, allocations: 65.3 kB / 1.58 GB, free: 266.5 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.00198/1.575, allocations: 1.86 MB / 1.582 GB, free: 265.1 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006544/1.575, allocations: 440.6 kB / 1.583 GB, free: 264.9 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009561/1.576, allocations: 0.5463 MB / 1.583 GB, free: 264.6 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 5.258e-05/1.576, allocations: 307.1 kB / 1.583 GB, free: 264.3 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002076/1.579, allocations: 1.178 MB / 1.585 GB, free: 263.9 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002588/1.581, allocations: 1.906 MB / 1.586 GB, free: 262.5 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004332/1.585, allocations: 2.928 MB / 1.589 GB, free: 260.8 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.378e-05/1.585, allocations: 7.484 kB / 1.589 GB, free: 260.8 MB / 1.264 GB Notification: Performance of matching and sorting (n=302) (initialization): time 0.007304/1.593, allocations: 3.563 MB / 1.593 GB, free: 259.3 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 9.037e-05/1.593, allocations: 77.67 kB / 1.593 GB, free: 259.2 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.482e-05/1.593, allocations: 22.72 kB / 1.593 GB, free: 259.2 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000275/1.593, allocations: 71.03 kB / 1.593 GB, free: 259.2 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002136/1.595, allocations: 476.2 kB / 1.593 GB, free: 259.1 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/1.597, allocations: 2.503 MB / 1.596 GB, free: 256.8 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003122/1.6, allocations: 338.4 kB / 1.596 GB, free: 256.6 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003415/1.601, allocations: 132.1 kB / 1.596 GB, free: 256.6 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003193/1.604, allocations: 1.867 MB / 1.598 GB, free: 255.7 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001955/1.606, allocations: 1.77 MB / 1.6 GB, free: 254.4 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003389/1.609, allocations: 2.693 MB / 1.603 GB, free: 252.8 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.499e-05/1.609, allocations: 11.53 kB / 1.603 GB, free: 252.8 MB / 1.264 GB Notification: Performance of matching and sorting (n=302) (initialization_lambda0): time 0.00562/1.615, allocations: 3.317 MB / 1.606 GB, free: 251.3 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 5.585e-05/1.615, allocations: 86.83 kB / 1.606 GB, free: 251.3 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/1.615, allocations: 23.59 kB / 1.606 GB, free: 251.3 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001673/1.615, allocations: 65.34 kB / 1.606 GB, free: 251.2 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001595/1.617, allocations: 465.5 kB / 1.606 GB, free: 251.2 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/1.618, allocations: 1.794 MB / 1.608 GB, free: 249.5 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003076/1.621, allocations: 273 kB / 1.608 GB, free: 249.4 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002835/1.621, allocations: 122.1 kB / 1.608 GB, free: 249.4 MB / 1.264 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 (259): * Single equations (assignments): 253 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 1 * 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.0007525/1.622, allocations: 339.8 kB / 1.609 GB, free: 249.1 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009114/1.623, allocations: 386.2 kB / 1.609 GB, free: 248.9 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004294/1.627, allocations: 2.119 MB / 1.611 GB, free: 248.1 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002529/1.63, allocations: 1.573 MB / 1.613 GB, free: 247.2 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/1.63, allocations: 3.938 kB / 1.613 GB, free: 247.2 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001511/1.631, allocations: 0.6711 MB / 1.613 GB, free: 246.6 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000558/1.632, allocations: 25.81 kB / 1.613 GB, free: 246.6 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/1.633, allocations: 85.61 kB / 1.614 GB, free: 246.6 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/1.633, allocations: 92 kB / 1.614 GB, free: 246.5 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003628/1.637, allocations: 2.011 MB / 1.616 GB, free: 245.4 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004668/1.642, allocations: 3.137 MB / 1.619 GB, free: 243 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00113/1.643, allocations: 0.716 MB / 1.619 GB, free: 242.3 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0039/1.647, allocations: 2.401 MB / 1.622 GB, free: 239.9 MB / 1.264 GB Notification: Performance of Backend: time 3.61e-07/1.647, allocations: 0 / 1.622 GB, free: 239.9 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0107/1.657, allocations: 4.64 MB / 1.626 GB, free: 235.3 MB / 1.264 GB Notification: Performance of SimCode: time 0.01618/1.674, allocations: 8.477 MB / 1.635 GB, free: 226.9 MB / 1.264 GB Notification: Performance of Templates: time 0.1191/1.793, allocations: 86.48 MB / 1.719 GB, free: 141.4 MB / 1.264 GB make -j1 -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.makefile (rm -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.sim & ./Buildings_11_Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_BaseClasses_Controls_Validation_MixingValveControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches