Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.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_latest_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_latest_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.001513/0.00152, allocations: 110.9 kB / 16.42 MB, free: 6.492 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.001624/0.001624, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.509/2.509, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001504, allocations: 59.91 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8604/0.8619, allocations: 157.4 MB / 1.208 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl): time 0.1678/1.03, allocations: 177.7 MB / 1.382 GB, free: 11.5 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.05843/1.088, allocations: 40.64 MB / 1.422 GB, free: 2.762 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009087/1.097, allocations: 214.8 kB / 1.422 GB, free: 2.551 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.008963/1.106, allocations: 3.013 MB / 1.425 GB, free: 15.52 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01454/1.121, allocations: 5.538 MB / 1.43 GB, free: 9.965 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.01137/1.132, allocations: 4.868 MB / 1.435 GB, free: 5.129 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.02345/1.156, allocations: 16.86 MB / 1.451 GB, free: 4.227 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007427/1.163, allocations: 4.364 MB / 1.456 GB, free: 15.78 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01164/1.175, allocations: 4.647 MB / 1.46 GB, free: 11.12 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006361/1.181, allocations: 3.131 MB / 1.463 GB, free: 7.977 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.001331/1.183, allocations: 488 kB / 1.464 GB, free: 7.5 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007969/1.191, allocations: 3.284 MB / 1.467 GB, free: 4.211 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001876/1.193, allocations: 1.269 MB / 1.468 GB, free: 2.938 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.004738/1.197, allocations: 2.582 MB / 1.471 GB, free: 352 kB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.01395/1.211, allocations: 8.573 MB / 1.479 GB, free: 7.746 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.211, allocations: 0 / 1.479 GB, free: 7.746 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.884e-06/1.211, allocations: 0 / 1.479 GB, free: 7.746 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001753/1.212, allocations: 4 kB / 1.479 GB, free: 7.742 MB / 1.201 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.01014/1.222, allocations: 5.189 MB / 1.484 GB, free: 2.449 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/1.222, allocations: 12.02 kB / 1.484 GB, free: 2.438 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002939/1.225, allocations: 0.7087 MB / 1.485 GB, free: 1.723 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009521/1.234, allocations: 4.965 MB / 1.49 GB, free: 12.7 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002041/1.234, allocations: 200.9 kB / 1.49 GB, free: 12.5 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005795/1.235, allocations: 271.9 kB / 1.49 GB, free: 12.23 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005381/1.24, allocations: 3.008 MB / 1.493 GB, free: 9.047 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.236e-05/1.24, allocations: 3.938 kB / 1.493 GB, free: 9.043 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002513/1.241, allocations: 112 kB / 1.493 GB, free: 8.934 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.271e-05/1.241, allocations: 92.5 kB / 1.493 GB, free: 8.84 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00433/1.245, allocations: 2.173 MB / 1.495 GB, free: 6.652 MB / 1.217 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.02061/1.266, allocations: 15.65 MB / 1.511 GB, free: 6.047 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00323/1.269, allocations: 1.647 MB / 1.512 GB, free: 4.344 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001472/1.271, allocations: 0.7731 MB / 1.513 GB, free: 3.574 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 evalFunc (simulation): time 0.008501/1.279, allocations: 5.455 MB / 1.518 GB, free: 13.56 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00192/1.281, allocations: 0.9699 MB / 1.519 GB, free: 12.57 MB / 1.248 GB Notification: Performance of pre-optimization done (n=120): time 5.129e-06/1.281, allocations: 0 / 1.519 GB, free: 12.57 MB / 1.248 GB Notification: Performance of matching and sorting (n=120): time 0.005811/1.287, allocations: 2.294 MB / 1.522 GB, free: 10.25 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/1.287, allocations: 123.8 kB / 1.522 GB, free: 10.1 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00841/1.295, allocations: 3.599 MB / 1.525 GB, free: 6.48 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0006782/1.296, allocations: 65.7 kB / 1.525 GB, free: 6.41 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.002543/1.299, allocations: 1.841 MB / 1.527 GB, free: 4.555 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.000782/1.299, allocations: 418.2 kB / 1.527 GB, free: 4.141 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00176/1.301, allocations: 0.5389 MB / 1.528 GB, free: 3.594 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001026/1.301, allocations: 309 kB / 1.528 GB, free: 3.289 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002321/1.304, allocations: 1.174 MB / 1.529 GB, free: 2.105 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002812/1.307, allocations: 1.894 MB / 1.531 GB, free: 15.91 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004742/1.311, allocations: 2.929 MB / 1.534 GB, free: 12.71 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.138e-05/1.311, allocations: 12 kB / 1.534 GB, free: 12.7 MB / 1.264 GB Notification: Performance of matching and sorting (n=302) (initialization): time 0.007771/1.319, allocations: 3.544 MB / 1.538 GB, free: 9.125 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 9.63e-05/1.319, allocations: 75.39 kB / 1.538 GB, free: 9.039 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.315e-05/1.319, allocations: 23.94 kB / 1.538 GB, free: 9.016 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002775/1.32, allocations: 72.83 kB / 1.538 GB, free: 8.941 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002167/1.322, allocations: 479.3 kB / 1.538 GB, free: 8.473 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002436/1.324, allocations: 2.497 MB / 1.541 GB, free: 5.805 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003386/1.328, allocations: 325.2 kB / 1.541 GB, free: 5.484 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000556/1.328, allocations: 132 kB / 1.541 GB, free: 5.355 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004384/1.333, allocations: 1.867 MB / 1.543 GB, free: 3.48 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002911/1.336, allocations: 1.761 MB / 1.545 GB, free: 1.41 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004957/1.341, allocations: 2.695 MB / 1.547 GB, free: 14.45 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.7e-05/1.341, allocations: 4 kB / 1.547 GB, free: 14.44 MB / 1.279 GB Notification: Performance of matching and sorting (n=302) (initialization_lambda0): time 0.008949/1.35, allocations: 3.313 MB / 1.551 GB, free: 11.11 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 8.744e-05/1.35, allocations: 79.39 kB / 1.551 GB, free: 11.02 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-05/1.35, allocations: 20 kB / 1.551 GB, free: 11 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002137/1.35, allocations: 72.89 kB / 1.551 GB, free: 10.92 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001793/1.352, allocations: 463.3 kB / 1.551 GB, free: 10.47 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/1.353, allocations: 1.798 MB / 1.553 GB, free: 8.52 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003182/1.357, allocations: 258.6 kB / 1.553 GB, free: 8.266 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003859/1.357, allocations: 123.9 kB / 1.553 GB, free: 8.145 MB / 1.279 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.0007966/1.358, allocations: 335.4 kB / 1.554 GB, free: 7.809 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001262/1.359, allocations: 367.3 kB / 1.554 GB, free: 7.445 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005263/1.364, allocations: 2.123 MB / 1.556 GB, free: 5.336 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002897/1.367, allocations: 1.575 MB / 1.558 GB, free: 3.707 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/1.367, allocations: 3.938 kB / 1.558 GB, free: 3.703 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002351/1.37, allocations: 0.6638 MB / 1.558 GB, free: 3.016 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001259/1.371, allocations: 24 kB / 1.558 GB, free: 2.992 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002107/1.373, allocations: 79.92 kB / 1.558 GB, free: 2.914 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002104/1.373, allocations: 101.1 kB / 1.558 GB, free: 2.816 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004495/1.378, allocations: 1.997 MB / 1.56 GB, free: 0.8086 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.7033/2.081, allocations: 3.115 MB / 1.563 GB, free: 339.6 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001774/2.083, allocations: 0.7632 MB / 1.564 GB, free: 339.4 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.004716/2.088, allocations: 2.408 MB / 1.566 GB, free: 338.5 MB / 1.279 GB Notification: Performance of Backend: time 4.81e-07/2.088, allocations: 0 / 1.566 GB, free: 338.5 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01129/2.099, allocations: 4.904 MB / 1.571 GB, free: 336.7 MB / 1.279 GB Notification: Performance of SimCode: time 0.01575/2.115, allocations: 8.35 MB / 1.579 GB, free: 333 MB / 1.279 GB Notification: Performance of Templates: time 0.1154/2.23, allocations: 85.29 MB / 1.663 GB, free: 259.3 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.makefile (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.sim & ./Buildings_latest_Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Controls_Validation_MixingValveControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches