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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001177/0.001177, allocations: 119.4 kB / 16.42 MB, free: 6.48 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.001162/0.001162, allocations: 183.9 kB / 17.34 MB, free: 5.746 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.318/1.318, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.603/2.603, allocations: 472.7 MB / 0.746 GB, free: 472 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 67.89 kB / 1.07 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.76/0.7614, allocations: 159.9 MB / 1.226 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl): time 0.2003/0.9618, allocations: 177.7 MB / 1.4 GB, free: 11.23 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.06289/1.025, allocations: 40.63 MB / 1.44 GB, free: 2.504 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009801/1.035, allocations: 218.8 kB / 1.44 GB, free: 2.289 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.009318/1.044, allocations: 3.059 MB / 1.443 GB, free: 15.21 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01504/1.059, allocations: 5.82 MB / 1.448 GB, free: 9.375 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.01173/1.071, allocations: 4.895 MB / 1.453 GB, free: 4.516 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.02312/1.094, allocations: 16.89 MB / 1.47 GB, free: 3.578 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008335/1.102, allocations: 4.356 MB / 1.474 GB, free: 15.13 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01127/1.114, allocations: 4.659 MB / 1.479 GB, free: 10.47 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00565/1.119, allocations: 3.12 MB / 1.482 GB, free: 7.336 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.001819/1.121, allocations: 492 kB / 1.482 GB, free: 6.855 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008605/1.13, allocations: 3.284 MB / 1.485 GB, free: 3.566 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.002371/1.132, allocations: 1.273 MB / 1.487 GB, free: 2.289 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.005943/1.138, allocations: 2.578 MB / 1.489 GB, free: 15.7 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.01601/1.154, allocations: 8.611 MB / 1.497 GB, free: 7.059 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/1.154, allocations: 0 / 1.497 GB, free: 7.059 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.433e-06/1.154, allocations: 0 / 1.497 GB, free: 7.059 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0002928/1.154, allocations: 0 / 1.497 GB, free: 7.059 MB / 1.217 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.01396/1.168, allocations: 5.355 MB / 1.503 GB, free: 1.598 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/1.168, allocations: 8.031 kB / 1.503 GB, free: 1.59 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003667/1.172, allocations: 0.7231 MB / 1.503 GB, free: 0.8633 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01123/1.183, allocations: 5.006 MB / 1.508 GB, free: 11.8 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002431/1.184, allocations: 200.9 kB / 1.508 GB, free: 11.61 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008672/1.185, allocations: 275.9 kB / 1.509 GB, free: 11.34 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006659/1.191, allocations: 3.016 MB / 1.512 GB, free: 8.141 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.528e-05/1.191, allocations: 7.938 kB / 1.512 GB, free: 8.133 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003603/1.192, allocations: 100 kB / 1.512 GB, free: 8.035 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.683e-05/1.192, allocations: 92.56 kB / 1.512 GB, free: 7.941 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004785/1.197, allocations: 2.169 MB / 1.514 GB, free: 5.758 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 removeSimpleEquations (simulation): time 0.02299/1.22, allocations: 15.68 MB / 1.529 GB, free: 5.125 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00342/1.223, allocations: 1.643 MB / 1.531 GB, free: 3.422 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/1.225, allocations: 0.762 MB / 1.532 GB, free: 2.656 MB / 1.248 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.009428/1.234, allocations: 5.476 MB / 1.537 GB, free: 12.63 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001895/1.236, allocations: 0.966 MB / 1.538 GB, free: 11.64 MB / 1.264 GB Notification: Performance of pre-optimization done (n=120): time 5.38e-06/1.236, allocations: 0 / 1.538 GB, free: 11.64 MB / 1.264 GB Notification: Performance of matching and sorting (n=120): time 0.005724/1.242, allocations: 2.319 MB / 1.54 GB, free: 9.293 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/1.242, allocations: 123.8 kB / 1.54 GB, free: 9.148 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007564/1.249, allocations: 3.607 MB / 1.544 GB, free: 5.52 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0004658/1.25, allocations: 69.69 kB / 1.544 GB, free: 5.445 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.002178/1.252, allocations: 1.856 MB / 1.546 GB, free: 3.578 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006916/1.253, allocations: 448.2 kB / 1.546 GB, free: 3.137 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001226/1.254, allocations: 0.5391 MB / 1.547 GB, free: 2.59 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001318/1.254, allocations: 313.1 kB / 1.547 GB, free: 2.281 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002582/1.257, allocations: 1.174 MB / 1.548 GB, free: 1.098 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003316/1.26, allocations: 1.886 MB / 1.55 GB, free: 14.9 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005058/1.265, allocations: 2.933 MB / 1.553 GB, free: 11.7 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.29e-05/1.265, allocations: 4 kB / 1.553 GB, free: 11.69 MB / 1.279 GB Notification: Performance of matching and sorting (n=302) (initialization): time 0.00739/1.273, allocations: 3.565 MB / 1.556 GB, free: 8.102 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 8.226e-05/1.273, allocations: 79.45 kB / 1.556 GB, free: 8.012 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.039e-05/1.273, allocations: 19.94 kB / 1.556 GB, free: 7.992 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002831/1.273, allocations: 76.77 kB / 1.556 GB, free: 7.914 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002112/1.275, allocations: 475.2 kB / 1.557 GB, free: 7.449 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002544/1.278, allocations: 2.493 MB / 1.559 GB, free: 4.785 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003502/1.281, allocations: 342.9 kB / 1.56 GB, free: 4.449 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004191/1.282, allocations: 136 kB / 1.56 GB, free: 4.316 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004194/1.286, allocations: 1.861 MB / 1.562 GB, free: 2.449 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002613/1.289, allocations: 1.776 MB / 1.563 GB, free: 376 kB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.7588/2.047, allocations: 2.687 MB / 1.566 GB, free: 323.2 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.012e-05/2.047, allocations: 5.406 kB / 1.566 GB, free: 323.2 MB / 1.279 GB Notification: Performance of matching and sorting (n=302) (initialization_lambda0): time 0.007358/2.055, allocations: 3.323 MB / 1.569 GB, free: 322.2 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 6.322e-05/2.055, allocations: 75.83 kB / 1.569 GB, free: 322.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.379e-05/2.055, allocations: 19.78 kB / 1.569 GB, free: 322.1 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001716/2.055, allocations: 74.98 kB / 1.569 GB, free: 322.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/2.057, allocations: 470.8 kB / 1.57 GB, free: 322.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/2.058, allocations: 1.799 MB / 1.572 GB, free: 320.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003168/2.061, allocations: 262.2 kB / 1.572 GB, free: 320.3 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003015/2.062, allocations: 125.5 kB / 1.572 GB, free: 320.3 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.0006411/2.062, allocations: 323.2 kB / 1.572 GB, free: 320 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007702/2.063, allocations: 394.1 kB / 1.573 GB, free: 320 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004537/2.068, allocations: 2.113 MB / 1.575 GB, free: 319.3 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002648/2.07, allocations: 1.582 MB / 1.576 GB, free: 318.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/2.07, allocations: 1.469 kB / 1.576 GB, free: 318.5 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001944/2.072, allocations: 0.6779 MB / 1.577 GB, free: 318.2 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006865/2.073, allocations: 31.22 kB / 1.577 GB, free: 318.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/2.074, allocations: 80.39 kB / 1.577 GB, free: 318.1 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002501/2.075, allocations: 95.55 kB / 1.577 GB, free: 318.1 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005399/2.08, allocations: 1.994 MB / 1.579 GB, free: 317.3 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00839/2.088, allocations: 3.144 MB / 1.582 GB, free: 315.8 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002108/2.091, allocations: 0.7726 MB / 1.583 GB, free: 315.5 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.00629/2.097, allocations: 2.4 MB / 1.585 GB, free: 314.5 MB / 1.279 GB Notification: Performance of Backend: time 1.974e-06/2.097, allocations: 2.594 kB / 1.585 GB, free: 314.5 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01578/2.113, allocations: 4.921 MB / 1.59 GB, free: 312.7 MB / 1.279 GB Notification: Performance of SimCode: time 0.02288/2.136, allocations: 8.477 MB / 1.598 GB, free: 308.8 MB / 1.279 GB Notification: Performance of Templates: time 0.1314/2.267, allocations: 85.29 MB / 1.682 GB, free: 228.5 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