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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001842/0.001842, allocations: 104.6 kB / 16.35 MB, free: 5.824 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.002186/0.002186, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.522/1.522, 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 11.0.0-master/package.mo): time 2.671/2.671, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 67.19 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3708, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.826/1.197, allocations: 154.4 MB / 1.177 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.05232/1.249, allocations: 30.39 MB / 1.207 GB, free: 6.109 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008147/1.257, allocations: 146 kB / 1.207 GB, free: 6.051 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004492/1.262, allocations: 1.039 MB / 1.208 GB, free: 5.141 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01075/1.273, allocations: 3.157 MB / 1.211 GB, free: 2.617 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.007184/1.28, allocations: 2.518 MB / 1.214 GB, free: 0.7031 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.009594/1.29, allocations: 5.389 MB / 1.219 GB, free: 13 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004257/1.294, allocations: 2.238 MB / 1.221 GB, free: 10.71 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007715/1.302, allocations: 2.692 MB / 1.224 GB, free: 8.012 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004532/1.306, allocations: 1.965 MB / 1.226 GB, free: 6.039 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0006996/1.307, allocations: 212 kB / 1.226 GB, free: 5.832 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003121/1.31, allocations: 1.092 MB / 1.227 GB, free: 4.738 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006283/1.311, allocations: 0.5565 MB / 1.228 GB, free: 4.18 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001889/1.313, allocations: 1.275 MB / 1.229 GB, free: 2.898 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004223/1.317, allocations: 3.317 MB / 1.232 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.317, allocations: 0 / 1.232 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.475e-06/1.317, allocations: 0 / 1.232 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.006e-05/1.317, allocations: 0 / 1.232 GB, free: 15.57 MB / 0.9356 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.005158/1.322, allocations: 2.793 MB / 1.235 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/1.322, allocations: 12.03 kB / 1.235 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004403/1.323, allocations: 264.8 kB / 1.235 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002629/1.325, allocations: 1.523 MB / 1.237 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.844e-05/1.325, allocations: 102.3 kB / 1.237 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001853/1.326, allocations: 136 kB / 1.237 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/1.328, allocations: 1.159 MB / 1.238 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/1.328, allocations: 0 / 1.238 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/1.328, allocations: 47.94 kB / 1.238 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.755e-05/1.328, allocations: 28 kB / 1.238 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/1.33, allocations: 1.016 MB / 1.239 GB, free: 8.328 MB / 0.9356 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.009576/1.339, allocations: 6.316 MB / 1.245 GB, free: 1.539 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009258/1.34, allocations: 0.5719 MB / 1.246 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005577/1.341, allocations: 382.4 kB / 1.246 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004037/1.341, allocations: 0.4992 MB / 1.247 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/1.341, allocations: 43.11 kB / 1.247 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00122/1.342, allocations: 226.9 kB / 1.247 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=58): time 2.615e-06/1.342, allocations: 0 / 1.247 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of matching and sorting (n=58): time 0.002025/1.344, allocations: 1.168 MB / 1.248 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/1.344, allocations: 59.97 kB / 1.248 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002342/1.347, allocations: 1.908 MB / 1.25 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001084/1.347, allocations: 41.7 kB / 1.25 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007673/1.348, allocations: 0.9146 MB / 1.251 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/1.348, allocations: 205.1 kB / 1.251 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004455/1.348, allocations: 298.5 kB / 1.251 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001502/1.348, allocations: 353.9 kB / 1.252 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007918/1.349, allocations: 453.9 kB / 1.252 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/1.35, allocations: 0.6801 MB / 1.253 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001506/1.352, allocations: 0.9696 MB / 1.254 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/1.352, allocations: 4 kB / 1.254 GB, free: 8.473 MB / 0.9512 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002447/1.354, allocations: 1.408 MB / 1.255 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/1.354, allocations: 10.5 kB / 1.255 GB, free: 7.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/1.354, allocations: 4 kB / 1.255 GB, free: 7.043 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.382e-05/1.354, allocations: 11.94 kB / 1.255 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/1.356, allocations: 279.9 kB / 1.255 GB, free: 6.758 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/1.356, allocations: 19.92 kB / 1.255 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/1.357, allocations: 71.88 kB / 1.256 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/1.357, allocations: 67.94 kB / 1.256 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001227/1.358, allocations: 0.7056 MB / 1.256 GB, free: 5.895 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008974/1.359, allocations: 0.6606 MB / 1.257 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001426/1.361, allocations: 0.9188 MB / 1.258 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.763e-06/1.361, allocations: 4 kB / 1.258 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002402/1.363, allocations: 1.35 MB / 1.259 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/1.363, allocations: 8 kB / 1.259 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/1.363, allocations: 4 kB / 1.259 GB, free: 2.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/1.363, allocations: 8 kB / 1.259 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/1.364, allocations: 271.6 kB / 1.259 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/1.364, allocations: 11.98 kB / 1.259 GB, free: 2.535 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/1.366, allocations: 87.91 kB / 1.26 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/1.366, allocations: 63.88 kB / 1.26 GB, free: 2.387 MB / 0.9512 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.0003264/1.367, allocations: 240.8 kB / 1.26 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003148/1.367, allocations: 201.4 kB / 1.26 GB, free: 1.945 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002042/1.369, allocations: 1.094 MB / 1.261 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/1.369, allocations: 11.94 kB / 1.261 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.369, allocations: 4 kB / 1.261 GB, free: 0.8281 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/1.369, allocations: 7.922 kB / 1.261 GB, free: 0.8203 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003746/1.373, allocations: 2.445 MB / 1.263 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/1.373, allocations: 0 / 1.263 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006028/1.373, allocations: 140 kB / 1.264 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/1.373, allocations: 4 kB / 1.264 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.016e-05/1.373, allocations: 23.98 kB / 1.264 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/1.373, allocations: 4 kB / 1.264 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.373, allocations: 4 kB / 1.264 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/1.375, allocations: 1.066 MB / 1.265 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006921/1.376, allocations: 362.2 kB / 1.265 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/1.376, allocations: 16 kB / 1.265 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007275/1.377, allocations: 39.95 kB / 1.265 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/1.377, allocations: 48.59 kB / 1.265 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.308e-05/1.377, allocations: 23.98 kB / 1.265 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001647/1.379, allocations: 1.256 MB / 1.266 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.11e-07/1.379, allocations: 0 / 1.266 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00215/1.381, allocations: 0.8849 MB / 1.267 GB, free: 10.36 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006829/1.381, allocations: 361 kB / 1.268 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002691/1.384, allocations: 1.621 MB / 1.269 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.384, allocations: 1.5 kB / 1.269 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006182/1.385, allocations: 411.5 kB / 1.27 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004023/1.389, allocations: 1.089 MB / 1.271 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004539/1.393, allocations: 2.987 MB / 1.274 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/1.394, allocations: 1.405 MB / 1.275 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001831/1.396, allocations: 396.1 kB / 1.275 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004395/1.397, allocations: 163.4 kB / 1.275 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of SimCode: time 2.444e-06/1.397, allocations: 0 / 1.275 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of Templates: time 0.06219/1.459, allocations: 38.28 MB / 1.313 GB, free: 12.2 MB / 1.014 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 -s cvode -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