Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001478/0.001478, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001926/0.001926, allocations: 192.5 kB / 16.25 MB, free: 6.641 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.552/1.552, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.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.749/2.749, allocations: 437 MB / 0.71 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 67.91 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8023/0.8037, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1509/0.9546, allocations: 153 MB / 1.166 GB, free: 9.227 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.04513/0.9997, allocations: 30.2 MB / 1.196 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007081/1.007, allocations: 131.1 kB / 1.196 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003817/1.011, allocations: 0.8545 MB / 1.197 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00981/1.021, allocations: 2.947 MB / 1.2 GB, free: 7.016 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.007787/1.028, allocations: 2.289 MB / 1.202 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.009591/1.038, allocations: 5.399 MB / 1.207 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00352/1.042, allocations: 2.186 MB / 1.209 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006084/1.048, allocations: 2.708 MB / 1.212 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003376/1.051, allocations: 2.023 MB / 1.214 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000867/1.052, allocations: 216 kB / 1.214 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002894/1.055, allocations: 1.088 MB / 1.215 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006429/1.055, allocations: 0.5642 MB / 1.216 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0016/1.057, allocations: 1.271 MB / 1.217 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004233/1.061, allocations: 3.282 MB / 1.22 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/1.061, allocations: 0 / 1.22 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.605e-06/1.061, allocations: 0 / 1.22 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.418e-05/1.061, allocations: 3.938 kB / 1.22 GB, free: 1.914 MB / 0.9669 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.005245/1.067, allocations: 2.779 MB / 1.223 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 8.409e-05/1.067, allocations: 15.97 kB / 1.223 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004498/1.067, allocations: 268.8 kB / 1.223 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002089/1.069, allocations: 1.449 MB / 1.224 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.299e-05/1.069, allocations: 106.3 kB / 1.225 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/1.07, allocations: 136 kB / 1.225 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/1.072, allocations: 1.163 MB / 1.226 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/1.072, allocations: 7.875 kB / 1.226 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/1.072, allocations: 48 kB / 1.226 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/1.072, allocations: 28 kB / 1.226 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/1.074, allocations: 1.013 MB / 1.227 GB, free: 10.73 MB / 0.9825 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.01103/1.085, allocations: 6.32 MB / 1.233 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009439/1.086, allocations: 0.5687 MB / 1.234 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005675/1.086, allocations: 382.4 kB / 1.234 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007323/1.087, allocations: 0.5109 MB / 1.234 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/1.087, allocations: 39.12 kB / 1.235 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001698/1.089, allocations: 302.8 kB / 1.235 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=58): time 3.296e-06/1.089, allocations: 0 / 1.235 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of matching and sorting (n=58): time 0.002286/1.091, allocations: 1.164 MB / 1.236 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/1.091, allocations: 59.97 kB / 1.236 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002876/1.094, allocations: 1.904 MB / 1.238 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001092/1.094, allocations: 41.7 kB / 1.238 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008423/1.095, allocations: 0.9183 MB / 1.239 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/1.095, allocations: 209.1 kB / 1.239 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004506/1.096, allocations: 290.6 kB / 1.239 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000201/1.096, allocations: 353.9 kB / 1.24 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009602/1.097, allocations: 453.9 kB / 1.24 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/1.098, allocations: 0.684 MB / 1.241 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/1.1, allocations: 0.9735 MB / 1.242 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/1.1, allocations: 0 / 1.242 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002821/1.103, allocations: 1.405 MB / 1.243 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/1.103, allocations: 8 kB / 1.243 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.103, allocations: 4 kB / 1.243 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/1.103, allocations: 8 kB / 1.243 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/1.104, allocations: 279.5 kB / 1.243 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.085e-05/1.104, allocations: 15.88 kB / 1.243 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/1.106, allocations: 131.7 kB / 1.243 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/1.106, allocations: 67.94 kB / 1.244 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001399/1.107, allocations: 0.7095 MB / 1.244 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009978/1.108, allocations: 0.6567 MB / 1.245 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001399/1.11, allocations: 0.9227 MB / 1.246 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.278e-06/1.11, allocations: 0 / 1.246 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002408/1.112, allocations: 1.361 MB / 1.247 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/1.112, allocations: 8 kB / 1.247 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/1.112, allocations: 0 / 1.247 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/1.112, allocations: 12 kB / 1.247 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/1.113, allocations: 267.6 kB / 1.247 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/1.113, allocations: 11.98 kB / 1.247 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/1.115, allocations: 151.9 kB / 1.248 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.916e-05/1.115, allocations: 59.89 kB / 1.248 GB, free: 4.602 MB / 0.9981 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.0003115/1.116, allocations: 241.5 kB / 1.248 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002812/1.116, allocations: 201.4 kB / 1.248 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002314/1.118, allocations: 1.095 MB / 1.249 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/1.118, allocations: 12.08 kB / 1.249 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/1.118, allocations: 3.938 kB / 1.249 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/1.118, allocations: 7.969 kB / 1.249 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003979/1.122, allocations: 2.437 MB / 1.251 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/1.122, allocations: 3.984 kB / 1.251 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006284/1.123, allocations: 131.8 kB / 1.252 GB, free: 400 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/1.123, allocations: 8 kB / 1.252 GB, free: 392 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-05/1.123, allocations: 19.98 kB / 1.252 GB, free: 372 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.445e-06/1.123, allocations: 8 kB / 1.252 GB, free: 364 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.123, allocations: 3.938 kB / 1.252 GB, free: 360 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6377/1.761, allocations: 1.067 MB / 1.253 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006679/1.761, allocations: 361.5 kB / 1.253 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002285/1.762, allocations: 16.14 kB / 1.253 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009823/1.763, allocations: 95.92 kB / 1.253 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/1.763, allocations: 50.11 kB / 1.253 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.197e-05/1.763, allocations: 24.58 kB / 1.253 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002051/1.765, allocations: 1.259 MB / 1.254 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.765, allocations: 0 / 1.254 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002461/1.767, allocations: 0.8916 MB / 1.255 GB, free: 230.2 MB / 0.9981 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.0007887/1.768, allocations: 350.5 kB / 1.256 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003441/1.772, allocations: 1.662 MB / 1.257 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.772, allocations: 4.688 kB / 1.257 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006786/1.772, allocations: 413.9 kB / 1.258 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004762/1.777, allocations: 1.083 MB / 1.259 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005489/1.783, allocations: 3.714 MB / 1.262 GB, free: 227 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001415/1.784, allocations: 1.41 MB / 1.264 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002385/1.786, allocations: 405.6 kB / 1.264 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005223/1.787, allocations: 160.2 kB / 1.264 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of SimCode: time 9.02e-07/1.787, allocations: 0 / 1.264 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.06332/1.85, allocations: 38.1 MB / 1.301 GB, free: 201.3 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches