Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001926/0.001926, allocations: 116.4 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.002456/0.002456, allocations: 186.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.472/1.472, allocations: 222.9 MB / 241 MB, free: 15.15 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.541/2.541, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 67.84 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8395/0.841, allocations: 151.6 MB / 1.167 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl): time 0.1692/1.01, allocations: 177.7 MB / 1.341 GB, free: 1.473 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0565/1.067, allocations: 40.68 MB / 1.381 GB, free: 8.707 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007473/1.074, allocations: 218.8 kB / 1.381 GB, free: 8.492 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.008189/1.082, allocations: 3.056 MB / 1.384 GB, free: 5.422 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01557/1.098, allocations: 5.834 MB / 1.39 GB, free: 15.56 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.01163/1.11, allocations: 4.892 MB / 1.394 GB, free: 10.7 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.02449/1.134, allocations: 16.89 MB / 1.411 GB, free: 9.789 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00833/1.143, allocations: 4.36 MB / 1.415 GB, free: 5.34 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0116/1.154, allocations: 4.665 MB / 1.42 GB, free: 0.668 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005859/1.16, allocations: 3.12 MB / 1.423 GB, free: 13.54 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.001847/1.162, allocations: 492 kB / 1.423 GB, free: 13.05 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008389/1.17, allocations: 3.28 MB / 1.426 GB, free: 9.77 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.002196/1.173, allocations: 1.281 MB / 1.428 GB, free: 8.484 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.005446/1.178, allocations: 2.582 MB / 1.43 GB, free: 5.891 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01541/1.194, allocations: 8.729 MB / 1.439 GB, free: 13.14 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/1.194, allocations: 3.938 kB / 1.439 GB, free: 13.13 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.934e-06/1.194, allocations: 0 / 1.439 GB, free: 13.13 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0002461/1.194, allocations: 0 / 1.439 GB, free: 13.13 MB / 1.17 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.01368/1.208, allocations: 5.197 MB / 1.444 GB, free: 7.832 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/1.208, allocations: 12.92 kB / 1.444 GB, free: 7.82 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003657/1.211, allocations: 0.7048 MB / 1.444 GB, free: 7.109 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01238/1.224, allocations: 4.983 MB / 1.449 GB, free: 2.07 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002707/1.224, allocations: 196.9 kB / 1.449 GB, free: 1.875 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001055/1.225, allocations: 271.9 kB / 1.45 GB, free: 1.609 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007919/1.233, allocations: 3.012 MB / 1.453 GB, free: 14.42 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.655e-05/1.233, allocations: 7.938 kB / 1.453 GB, free: 14.41 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005104/1.234, allocations: 108 kB / 1.453 GB, free: 14.3 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-05/1.234, allocations: 84.56 kB / 1.453 GB, free: 14.22 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004934/1.239, allocations: 2.169 MB / 1.455 GB, free: 12.03 MB / 1.186 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.02232/1.261, allocations: 15.67 MB / 1.47 GB, free: 11.41 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003421/1.264, allocations: 1.644 MB / 1.472 GB, free: 9.707 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001517/1.266, allocations: 0.7653 MB / 1.473 GB, free: 8.945 MB / 1.201 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.008461/1.274, allocations: 5.49 MB / 1.478 GB, free: 2.902 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001765/1.276, allocations: 0.9699 MB / 1.479 GB, free: 1.906 MB / 1.201 GB Notification: Performance of pre-optimization done (n=120): time 3.707e-06/1.276, allocations: 3.938 kB / 1.479 GB, free: 1.902 MB / 1.201 GB Notification: Performance of matching and sorting (n=120): time 0.005242/1.282, allocations: 2.29 MB / 1.481 GB, free: 15.59 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/1.282, allocations: 119.8 kB / 1.481 GB, free: 15.45 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005503/1.287, allocations: 3.603 MB / 1.485 GB, free: 11.82 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0003636/1.288, allocations: 69.64 kB / 1.485 GB, free: 11.75 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001749/1.289, allocations: 1.837 MB / 1.487 GB, free: 9.895 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005273/1.29, allocations: 414.2 kB / 1.487 GB, free: 9.484 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007966/1.291, allocations: 0.535 MB / 1.488 GB, free: 8.941 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 9.584e-05/1.291, allocations: 309.1 kB / 1.488 GB, free: 8.637 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001972/1.293, allocations: 1.181 MB / 1.489 GB, free: 7.445 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002528/1.295, allocations: 1.89 MB / 1.491 GB, free: 5.246 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00417/1.299, allocations: 2.929 MB / 1.494 GB, free: 2.043 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/1.299, allocations: 4 kB / 1.494 GB, free: 2.039 MB / 1.217 GB Notification: Performance of matching and sorting (n=302) (initialization): time 0.00644/1.306, allocations: 3.548 MB / 1.497 GB, free: 14.46 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 7.791e-05/1.306, allocations: 79.45 kB / 1.497 GB, free: 14.38 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-05/1.306, allocations: 23.94 kB / 1.497 GB, free: 14.35 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000222/1.306, allocations: 64.84 kB / 1.497 GB, free: 14.29 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001978/1.308, allocations: 471.2 kB / 1.498 GB, free: 13.82 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/1.31, allocations: 2.505 MB / 1.5 GB, free: 11.14 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003124/1.314, allocations: 334.5 kB / 1.501 GB, free: 10.81 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003716/1.314, allocations: 128 kB / 1.501 GB, free: 10.69 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003695/1.318, allocations: 1.859 MB / 1.502 GB, free: 8.82 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002388/1.32, allocations: 1.776 MB / 1.504 GB, free: 6.738 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004053/1.324, allocations: 2.695 MB / 1.507 GB, free: 3.777 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.526e-05/1.324, allocations: 4 kB / 1.507 GB, free: 3.773 MB / 1.232 GB Notification: Performance of matching and sorting (n=302) (initialization_lambda0): time 0.006202/1.33, allocations: 3.306 MB / 1.51 GB, free: 452 kB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 6.409e-05/1.331, allocations: 75.39 kB / 1.51 GB, free: 364 kB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.971e-05/1.331, allocations: 20 kB / 1.51 GB, free: 344 kB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001605/1.331, allocations: 68.78 kB / 1.51 GB, free: 272 kB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/1.332, allocations: 475.3 kB / 1.511 GB, free: 15.8 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/1.334, allocations: 1.794 MB / 1.512 GB, free: 13.86 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002894/1.337, allocations: 262.8 kB / 1.513 GB, free: 13.6 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003544/1.337, allocations: 124 kB / 1.513 GB, free: 13.48 MB / 1.248 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.0005457/1.338, allocations: 327.5 kB / 1.513 GB, free: 13.15 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008553/1.339, allocations: 367.3 kB / 1.513 GB, free: 12.79 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00441/1.343, allocations: 2.138 MB / 1.516 GB, free: 10.66 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002792/1.346, allocations: 1.575 MB / 1.517 GB, free: 9.035 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/1.346, allocations: 3.938 kB / 1.517 GB, free: 9.031 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002022/1.348, allocations: 0.6521 MB / 1.518 GB, free: 8.355 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005958/1.348, allocations: 31.98 kB / 1.518 GB, free: 8.324 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001475/1.35, allocations: 87.83 kB / 1.518 GB, free: 8.238 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/1.35, allocations: 89.19 kB / 1.518 GB, free: 8.152 MB / 1.248 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004061/1.354, allocations: 2.001 MB / 1.52 GB, free: 6.141 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005419/1.36, allocations: 3.12 MB / 1.523 GB, free: 2.996 MB / 1.248 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001288/1.361, allocations: 0.7678 MB / 1.524 GB, free: 2.227 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.004186/1.365, allocations: 2.405 MB / 1.526 GB, free: 15.82 MB / 1.264 GB Notification: Performance of Backend: time 8.02e-07/1.365, allocations: 0 / 1.526 GB, free: 15.82 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01209/1.377, allocations: 4.927 MB / 1.531 GB, free: 10.84 MB / 1.264 GB Notification: Performance of SimCode: time 0.02153/1.399, allocations: 8.34 MB / 1.539 GB, free: 2.496 MB / 1.264 GB Notification: Performance of Templates: time 0.7415/2.14, allocations: 86.05 MB / 1.623 GB, free: 327.6 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.sim & ./Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_BaseClasses_Controls_Validation_MixingValveControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches