Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001949/0.001949, allocations: 95.92 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002289/0.002289, allocations: 212.7 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.25/3.25, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTPriSup.T|TSetSecAct.y|senTSecRet.T|senTSecSup.T|mod.y|mSec_flow.y|disFlo.PPum|disFlo.val.y_actual",fileNamePrefix="Buildings_12_Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl") translateModel(Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTPriSup.T|TSetSecAct.y|senTSecRet.T|senTSecSup.T|mod.y|mSec_flow.y|disFlo.PPum|disFlo.val.y_actual",fileNamePrefix="Buildings_12_Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003069/0.003069, allocations: 69.48 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.4189, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl): time 0.2108/0.6296, allocations: 163.6 MB / 1.487 GB, free: 12.93 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.07892/0.7086, allocations: 38.03 MB / 1.524 GB, free: 6.801 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009921/0.7185, allocations: 297.6 kB / 1.524 GB, free: 6.508 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.009742/0.7282, allocations: 3.05 MB / 1.527 GB, free: 3.445 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01797/0.7462, allocations: 5.918 MB / 1.533 GB, free: 13.5 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01275/0.759, allocations: 5.026 MB / 1.538 GB, free: 8.512 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.02666/0.7856, allocations: 17.32 MB / 1.555 GB, free: 7.16 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007974/0.7936, allocations: 3.271 MB / 1.558 GB, free: 3.801 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01398/0.8076, allocations: 5.159 MB / 1.563 GB, free: 14.64 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007475/0.815, allocations: 3.214 MB / 1.566 GB, free: 11.41 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.001937/0.817, allocations: 472 kB / 1.567 GB, free: 10.95 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01015/0.8271, allocations: 2.87 MB / 1.569 GB, free: 8.07 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.00296/0.8301, allocations: 1.296 MB / 1.571 GB, free: 6.77 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.006158/0.8362, allocations: 1.991 MB / 1.573 GB, free: 4.77 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.02019/0.8564, allocations: 8.522 MB / 1.581 GB, free: 12.22 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.8564, allocations: 0 / 1.581 GB, free: 12.22 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8564, allocations: 0 / 1.581 GB, free: 12.22 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0002469/0.8567, allocations: 0 / 1.581 GB, free: 12.22 MB / 1.279 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.01485/0.8715, allocations: 5.447 MB / 1.586 GB, free: 6.68 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 6.051e-05/0.8716, allocations: 8.031 kB / 1.586 GB, free: 6.672 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003541/0.8751, allocations: 0.727 MB / 1.587 GB, free: 5.941 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01199/0.8871, allocations: 4.803 MB / 1.592 GB, free: 1.059 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002528/0.8874, allocations: 204.9 kB / 1.592 GB, free: 0.8555 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008307/0.8882, allocations: 268 kB / 1.592 GB, free: 0.5938 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006842/0.8951, allocations: 3.418 MB / 1.595 GB, free: 12.9 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-05/0.8951, allocations: 3.938 kB / 1.595 GB, free: 12.89 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003143/0.8954, allocations: 112 kB / 1.596 GB, free: 12.79 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/0.8955, allocations: 92.55 kB / 1.596 GB, free: 12.69 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004792/0.9003, allocations: 2.169 MB / 1.598 GB, free: 10.51 MB / 1.295 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.9312/1.832, allocations: 11.53 MB / 1.609 GB, free: 271.5 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003931/1.835, allocations: 1.338 MB / 1.61 GB, free: 271.4 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001546/1.837, allocations: 0.7026 MB / 1.611 GB, free: 271.4 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00814/1.845, allocations: 2.861 MB / 1.614 GB, free: 270.6 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002174/1.847, allocations: 1.361 MB / 1.615 GB, free: 269.8 MB / 1.295 GB Notification: Performance of pre-optimization done (n=121): time 4.459e-06/1.847, allocations: 1.5 kB / 1.615 GB, free: 269.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=121): time 0.00574/1.853, allocations: 2.236 MB / 1.617 GB, free: 269.1 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/1.853, allocations: 120 kB / 1.617 GB, free: 269 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007085/1.86, allocations: 3.357 MB / 1.621 GB, free: 267.8 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0005921/1.861, allocations: 65.23 kB / 1.621 GB, free: 267.7 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002195/1.863, allocations: 1.868 MB / 1.623 GB, free: 266.6 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007231/1.864, allocations: 441.3 kB / 1.623 GB, free: 266.3 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001231/1.865, allocations: 0.5396 MB / 1.624 GB, free: 266.1 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 6.806e-05/1.865, allocations: 303.8 kB / 1.624 GB, free: 265.8 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002733/1.868, allocations: 1.262 MB / 1.625 GB, free: 265.2 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002809/1.871, allocations: 2.518 MB / 1.628 GB, free: 263.2 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004329/1.875, allocations: 2.973 MB / 1.63 GB, free: 261.4 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.416e-05/1.875, allocations: 5.438 kB / 1.63 GB, free: 261.4 MB / 1.295 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007346/1.882, allocations: 3.65 MB / 1.634 GB, free: 259.8 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 8.069e-05/1.882, allocations: 74.44 kB / 1.634 GB, free: 259.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.273e-05/1.882, allocations: 25.62 kB / 1.634 GB, free: 259.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000272/1.883, allocations: 66.77 kB / 1.634 GB, free: 259.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002253/1.885, allocations: 481.3 kB / 1.635 GB, free: 259.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/1.887, allocations: 2.326 MB / 1.637 GB, free: 257.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003287/1.89, allocations: 300.8 kB / 1.637 GB, free: 257.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004466/1.89, allocations: 134.1 kB / 1.637 GB, free: 257.5 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00412/1.895, allocations: 1.944 MB / 1.639 GB, free: 256.5 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003068/1.898, allocations: 2.4 MB / 1.642 GB, free: 254.5 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004409/1.902, allocations: 2.722 MB / 1.644 GB, free: 252.8 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.032e-05/1.902, allocations: 5.594 kB / 1.644 GB, free: 252.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=303) (initialization_lambda0): time 0.007069/1.909, allocations: 3.4 MB / 1.648 GB, free: 251.3 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 7.236e-05/1.909, allocations: 80.47 kB / 1.648 GB, free: 251.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.645e-05/1.909, allocations: 18.97 kB / 1.648 GB, free: 251.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000207/1.909, allocations: 69.03 kB / 1.648 GB, free: 251.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001849/1.911, allocations: 469.6 kB / 1.648 GB, free: 251.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/1.913, allocations: 1.607 MB / 1.65 GB, free: 249.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003319/1.916, allocations: 257.2 kB / 1.65 GB, free: 249.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004448/1.916, allocations: 130.6 kB / 1.65 GB, free: 249.6 MB / 1.295 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,disFlo.conVal.toBoo.y,disFlo.conVal.cha.u,$PRE.disFlo.conVal.cha.u,disFlo.conVal.cha.y,disFlo.conVal.cha.up,disFlo.conVal.cha.down,mSec_flow.booPul.y,$PRE.mSec_flow.booPul.y,modCha.y,$PRE.modCha.y,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 254 * 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.000888/1.917, allocations: 325.8 kB / 1.65 GB, free: 249.3 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001367/1.919, allocations: 367.4 kB / 1.651 GB, free: 249.1 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005556/1.924, allocations: 2.128 MB / 1.653 GB, free: 248.3 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002774/1.927, allocations: 1.605 MB / 1.654 GB, free: 247.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/1.927, allocations: 0 / 1.654 GB, free: 247.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002145/1.929, allocations: 0.569 MB / 1.655 GB, free: 247.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00098/1.93, allocations: 27.88 kB / 1.655 GB, free: 247.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002101/1.932, allocations: 90.48 kB / 1.655 GB, free: 247.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001983/1.932, allocations: 93.61 kB / 1.655 GB, free: 247.2 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004128/1.936, allocations: 2.037 MB / 1.657 GB, free: 246.3 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004959/1.941, allocations: 3.167 MB / 1.66 GB, free: 243.7 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001216/1.943, allocations: 0.7324 MB / 1.661 GB, free: 243.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.004584/1.947, allocations: 2.211 MB / 1.663 GB, free: 241.2 MB / 1.295 GB Notification: Performance of Backend: time 1.082e-06/1.947, allocations: 0 / 1.663 GB, free: 241.2 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01235/1.96, allocations: 4.748 MB / 1.668 GB, free: 237 MB / 1.295 GB Notification: Performance of SimCode: time 0.01739/1.977, allocations: 8.24 MB / 1.676 GB, free: 228.9 MB / 1.295 GB Notification: Performance of Templates: time 0.1265/2.103, allocations: 91.2 MB / 1.765 GB, free: 139.1 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.sim & ./Buildings_12_Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_BaseClasses_Controls_Validation_MixingValveControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.520108001001063]