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.001092/0.001093, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.01062/0.01062, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.518/1.518, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.726/2.726, allocations: 437.8 MB / 0.7121 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003706, allocations: 8 kB / 0.8728 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8934/0.8938, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1822/1.076, allocations: 151 MB / 1.171 GB, free: 8.293 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.04433/1.12, allocations: 30.16 MB / 1.2 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00776/1.128, allocations: 119.1 kB / 1.2 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003955/1.132, allocations: 0.8194 MB / 1.201 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01212/1.144, allocations: 2.896 MB / 1.204 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.007076/1.151, allocations: 2.304 MB / 1.206 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01065/1.162, allocations: 7.393 MB / 1.213 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003805/1.166, allocations: 1.85 MB / 1.215 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006442/1.172, allocations: 2.368 MB / 1.217 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004029/1.177, allocations: 1.906 MB / 1.219 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0006157/1.177, allocations: 100 kB / 1.219 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003005/1.18, allocations: 0.9397 MB / 1.22 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007125/1.181, allocations: 433.8 kB / 1.221 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001915/1.183, allocations: 1.152 MB / 1.222 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004111/1.187, allocations: 3.126 MB / 1.225 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.187, allocations: 3.938 kB / 1.225 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.194e-06/1.187, allocations: 0 / 1.225 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.583e-05/1.187, allocations: 0 / 1.225 GB, free: 0.5781 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.004729/1.192, allocations: 2.352 MB / 1.227 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/1.192, allocations: 11.98 kB / 1.227 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004906/1.192, allocations: 264.8 kB / 1.227 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002427/1.195, allocations: 1.446 MB / 1.229 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.528e-05/1.195, allocations: 102.3 kB / 1.229 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002068/1.195, allocations: 144 kB / 1.229 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002267/1.197, allocations: 1.163 MB / 1.23 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/1.197, allocations: 3.938 kB / 1.23 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/1.198, allocations: 51.94 kB / 1.23 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.432e-05/1.198, allocations: 28 kB / 1.23 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/1.199, allocations: 1.028 MB / 1.231 GB, free: 9.82 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.0111/1.211, allocations: 6.34 MB / 1.237 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/1.212, allocations: 0.5824 MB / 1.238 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006217/1.212, allocations: 390.2 kB / 1.238 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000488/1.213, allocations: 0.4992 MB / 1.239 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/1.213, allocations: 35.12 kB / 1.239 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001742/1.215, allocations: 338.9 kB / 1.239 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=58): time 5.319e-06/1.215, allocations: 0 / 1.239 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of matching and sorting (n=58): time 0.002066/1.217, allocations: 1.137 MB / 1.24 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/1.217, allocations: 59.97 kB / 1.24 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002524/1.219, allocations: 1.908 MB / 1.242 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.139e-05/1.219, allocations: 45.7 kB / 1.242 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007958/1.22, allocations: 0.9184 MB / 1.243 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/1.22, allocations: 201.1 kB / 1.243 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/1.22, allocations: 117.6 kB / 1.243 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001568/1.221, allocations: 345.9 kB / 1.244 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000796/1.221, allocations: 442.4 kB / 1.244 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001/1.222, allocations: 0.6645 MB / 1.245 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001545/1.224, allocations: 0.9539 MB / 1.246 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.224, allocations: 3.938 kB / 1.246 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002506/1.227, allocations: 1.393 MB / 1.247 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001503/1.227, allocations: 198.2 kB / 1.247 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/1.227, allocations: 3.938 kB / 1.247 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/1.227, allocations: 8 kB / 1.247 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/1.228, allocations: 283.6 kB / 1.248 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.919e-05/1.228, allocations: 15.92 kB / 1.248 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/1.23, allocations: 143.7 kB / 1.248 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/1.23, allocations: 55.95 kB / 1.248 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/1.23, allocations: 4 kB / 1.248 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00191/1.232, allocations: 1.124 MB / 1.249 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/1.232, allocations: 4.375 kB / 1.249 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/1.232, allocations: 16 kB / 1.249 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/1.233, allocations: 271.6 kB / 1.249 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/1.233, allocations: 8 kB / 1.249 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001783/1.235, allocations: 147.6 kB / 1.249 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.783e-05/1.235, allocations: 59.97 kB / 1.249 GB, free: 6.309 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.0009069/1.236, allocations: 452.7 kB / 1.25 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003488/1.236, allocations: 201.4 kB / 1.25 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002179/1.238, allocations: 1.072 MB / 1.251 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/1.238, allocations: 11.98 kB / 1.251 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/1.238, allocations: 3.938 kB / 1.251 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/1.238, allocations: 3.984 kB / 1.251 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004205/1.243, allocations: 2.417 MB / 1.253 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.928e-06/1.243, allocations: 0 / 1.253 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005761/1.243, allocations: 143.7 kB / 1.254 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/1.243, allocations: 8.188 kB / 1.254 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.442e-05/1.243, allocations: 20.08 kB / 1.254 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.323e-06/1.243, allocations: 7.938 kB / 1.254 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.243, allocations: 0 / 1.254 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/1.245, allocations: 1.058 MB / 1.255 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007257/1.246, allocations: 386.1 kB / 1.255 GB, free: 408 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001915/1.246, allocations: 15.98 kB / 1.255 GB, free: 392 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009681/1.247, allocations: 95.77 kB / 1.255 GB, free: 296 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/1.247, allocations: 52.58 kB / 1.255 GB, free: 244 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.207e-05/1.247, allocations: 28 kB / 1.255 GB, free: 216 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.6527/1.9, allocations: 1.245 MB / 1.256 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.52e-07/1.9, allocations: 0 / 1.256 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003988/1.904, allocations: 0.8876 MB / 1.257 GB, free: 227.8 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.0009201/1.905, allocations: 338.3 kB / 1.258 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003491/1.908, allocations: 1.585 MB / 1.259 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/1.908, allocations: 1.094 kB / 1.259 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007409/1.909, allocations: 404.3 kB / 1.26 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006975/1.916, allocations: 1.145 MB / 1.261 GB, free: 227 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006367/1.923, allocations: 3.726 MB / 1.264 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001641/1.924, allocations: 1.406 MB / 1.266 GB, free: 224 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002746/1.927, allocations: 400 kB / 1.266 GB, free: 224 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005507/1.928, allocations: 162.4 kB / 1.266 GB, free: 224 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/1.928, allocations: 0 / 1.266 GB, free: 224 MB / 0.9981 GB Notification: Performance of Templates: time 0.05812/1.986, allocations: 37 MB / 1.302 GB, free: 201.1 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