Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flowOpPoi.m_flow|senM_flowKv.m_flow|senM_flowCv.m_flow|senM_flowAv.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flowOpPoi.m_flow|senM_flowKv.m_flow|senM_flowCv.m_flow|senM_flowAv.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 106.3 kB / 16.41 MB, free: 6.387 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.001713/0.001713, allocations: 187.9 kB / 17.34 MB, free: 5.84 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.677/2.677, allocations: 472.7 MB / 0.746 GB, free: 480 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 67.91 kB / 1.07 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.185/1.186, allocations: 159.9 MB / 1.226 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1616/1.348, allocations: 154.4 MB / 1.377 GB, free: 2.66 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.04723/1.395, allocations: 30.4 MB / 1.407 GB, free: 4.188 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008057/1.403, allocations: 143.1 kB / 1.407 GB, free: 4.047 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.00416/1.408, allocations: 1.055 MB / 1.408 GB, free: 2.984 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01261/1.42, allocations: 3.331 MB / 1.411 GB, free: 15.64 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0084/1.429, allocations: 2.518 MB / 1.414 GB, free: 13.16 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.01071/1.439, allocations: 5.404 MB / 1.419 GB, free: 7.734 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004846/1.444, allocations: 2.236 MB / 1.421 GB, free: 5.449 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007924/1.452, allocations: 2.759 MB / 1.424 GB, free: 2.68 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004835/1.457, allocations: 1.965 MB / 1.426 GB, free: 0.707 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.001137/1.458, allocations: 215.9 kB / 1.426 GB, free: 0.4961 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004103/1.462, allocations: 1.092 MB / 1.427 GB, free: 15.4 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001287/1.464, allocations: 0.5564 MB / 1.428 GB, free: 14.84 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.003528/1.467, allocations: 1.271 MB / 1.429 GB, free: 13.57 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.007758/1.475, allocations: 3.335 MB / 1.432 GB, free: 10.22 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/1.475, allocations: 0 / 1.432 GB, free: 10.22 MB / 1.154 GB Notification: Performance of FrontEnd: time 3.336e-06/1.475, allocations: 4 kB / 1.432 GB, free: 10.21 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001806/1.475, allocations: 0 / 1.432 GB, free: 10.21 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.008181/1.483, allocations: 2.871 MB / 1.435 GB, free: 7.277 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/1.483, allocations: 8.031 kB / 1.435 GB, free: 7.27 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009697/1.484, allocations: 274.3 kB / 1.435 GB, free: 7 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003841/1.488, allocations: 1.533 MB / 1.437 GB, free: 5.395 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/1.488, allocations: 102.3 kB / 1.437 GB, free: 5.293 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004105/1.489, allocations: 140 kB / 1.437 GB, free: 5.156 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002632/1.492, allocations: 1.167 MB / 1.438 GB, free: 3.961 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/1.492, allocations: 3.938 kB / 1.438 GB, free: 3.957 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/1.492, allocations: 48 kB / 1.438 GB, free: 3.91 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.633e-05/1.492, allocations: 28 kB / 1.438 GB, free: 3.883 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/1.494, allocations: 1.009 MB / 1.439 GB, free: 2.867 MB / 1.154 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.0128/1.507, allocations: 6.334 MB / 1.445 GB, free: 12.07 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/1.508, allocations: 0.567 MB / 1.446 GB, free: 11.49 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007367/1.509, allocations: 384.4 kB / 1.446 GB, free: 11.11 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005253/1.509, allocations: 0.5108 MB / 1.447 GB, free: 10.49 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.012e-05/1.509, allocations: 39.12 kB / 1.447 GB, free: 10.45 MB / 1.17 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001677/1.511, allocations: 231.3 kB / 1.447 GB, free: 10.22 MB / 1.17 GB Notification: Performance of pre-optimization done (n=58): time 8.215e-06/1.511, allocations: 0 / 1.447 GB, free: 10.22 MB / 1.17 GB Notification: Performance of matching and sorting (n=58): time 0.002866/1.514, allocations: 1.169 MB / 1.448 GB, free: 9.043 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/1.514, allocations: 59.97 kB / 1.448 GB, free: 8.973 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003814/1.518, allocations: 1.912 MB / 1.45 GB, free: 7.035 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001822/1.518, allocations: 49.7 kB / 1.45 GB, free: 6.98 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001182/1.519, allocations: 0.9276 MB / 1.451 GB, free: 6.043 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000236/1.519, allocations: 210.2 kB / 1.451 GB, free: 5.836 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006301/1.52, allocations: 298.7 kB / 1.451 GB, free: 5.539 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000178/1.52, allocations: 349.9 kB / 1.452 GB, free: 5.191 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000938/1.521, allocations: 457.7 kB / 1.452 GB, free: 4.742 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/1.522, allocations: 0.684 MB / 1.453 GB, free: 3.977 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00182/1.524, allocations: 0.9696 MB / 1.454 GB, free: 2.965 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/1.524, allocations: 0 / 1.454 GB, free: 2.965 MB / 1.17 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003253/1.528, allocations: 1.421 MB / 1.455 GB, free: 1.535 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/1.528, allocations: 11.98 kB / 1.455 GB, free: 1.523 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/1.528, allocations: 4 kB / 1.455 GB, free: 1.52 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.016e-05/1.528, allocations: 11.94 kB / 1.455 GB, free: 1.508 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/1.529, allocations: 279.5 kB / 1.456 GB, free: 1.234 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.125e-05/1.529, allocations: 8 kB / 1.456 GB, free: 1.227 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002112/1.531, allocations: 83.97 kB / 1.456 GB, free: 1.145 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001806/1.532, allocations: 59.95 kB / 1.456 GB, free: 1.086 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001868/1.533, allocations: 0.7107 MB / 1.456 GB, free: 380 kB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001207/1.535, allocations: 0.6606 MB / 1.457 GB, free: 15.63 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001842/1.536, allocations: 0.9149 MB / 1.458 GB, free: 14.68 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.312e-06/1.536, allocations: 0 / 1.458 GB, free: 14.68 MB / 1.186 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.003165/1.54, allocations: 1.362 MB / 1.459 GB, free: 13.3 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/1.54, allocations: 4 kB / 1.459 GB, free: 13.3 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/1.54, allocations: 4 kB / 1.459 GB, free: 13.3 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/1.54, allocations: 8.375 kB / 1.459 GB, free: 13.29 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/1.541, allocations: 283.5 kB / 1.459 GB, free: 13.01 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.385e-05/1.541, allocations: 8 kB / 1.46 GB, free: 13 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002394/1.544, allocations: 91.91 kB / 1.46 GB, free: 12.91 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002089/1.544, allocations: 59.98 kB / 1.46 GB, free: 12.86 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005761/1.544, allocations: 232 kB / 1.46 GB, free: 12.62 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007549/1.545, allocations: 214.6 kB / 1.46 GB, free: 12.41 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003171/1.548, allocations: 1.095 MB / 1.461 GB, free: 11.31 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/1.548, allocations: 3.984 kB / 1.461 GB, free: 11.31 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/1.548, allocations: 3.938 kB / 1.461 GB, free: 11.3 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/1.549, allocations: 367.4 kB / 1.461 GB, free: 10.93 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006662/1.55, allocations: 16 kB / 1.462 GB, free: 10.91 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/1.552, allocations: 39.95 kB / 1.462 GB, free: 10.87 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/1.552, allocations: 48.59 kB / 1.462 GB, free: 10.82 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001988/1.554, allocations: 0.8836 MB / 1.462 GB, free: 9.938 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00223/1.556, allocations: 1.136 MB / 1.464 GB, free: 8.777 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00073/1.557, allocations: 381 kB / 1.464 GB, free: 8.406 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002867/1.56, allocations: 1.252 MB / 1.465 GB, free: 7.141 MB / 1.186 GB Notification: Performance of Backend: time 6.81e-07/1.56, allocations: 3.938 kB / 1.465 GB, free: 7.137 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.005244/1.565, allocations: 1.684 MB / 1.467 GB, free: 5.469 MB / 1.186 GB Notification: Performance of SimCode: time 0.009791/1.575, allocations: 4.167 MB / 1.471 GB, free: 1.254 MB / 1.186 GB Notification: Performance of Templates: time 0.07968/1.654, allocations: 41.66 MB / 1.512 GB, free: 8.109 MB / 1.232 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches