Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008494/0.008494, allocations: 98.83 kB / 15.73 MB, free: 6.012 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.001806/0.001806, allocations: 193 kB / 16.67 MB, free: 5.926 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.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.934/2.934, allocations: 469.8 MB / 0.7425 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 67.91 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3256, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.9385/1.264, allocations: 154.6 MB / 1.372 GB, free: 2.066 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.05421/1.318, allocations: 30.44 MB / 1.401 GB, free: 9.453 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008391/1.327, allocations: 145.9 kB / 1.401 GB, free: 9.395 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003932/1.331, allocations: 1.069 MB / 1.403 GB, free: 8.465 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01167/1.342, allocations: 3.322 MB / 1.406 GB, free: 5.84 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.007168/1.349, allocations: 2.514 MB / 1.408 GB, free: 3.941 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.009527/1.359, allocations: 5.399 MB / 1.414 GB, free: 0.8164 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003451/1.362, allocations: 1.891 MB / 1.415 GB, free: 15.45 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006323/1.369, allocations: 2.764 MB / 1.418 GB, free: 13.75 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004861/1.374, allocations: 1.963 MB / 1.42 GB, free: 12.5 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0008273/1.374, allocations: 212 kB / 1.42 GB, free: 12.3 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004005/1.378, allocations: 1.104 MB / 1.421 GB, free: 11.19 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.000917/1.379, allocations: 0.5679 MB / 1.422 GB, free: 10.62 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002521/1.382, allocations: 1.271 MB / 1.423 GB, free: 9.344 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.006983/1.389, allocations: 3.332 MB / 1.426 GB, free: 6 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/1.389, allocations: 0 / 1.426 GB, free: 6 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.714e-06/1.389, allocations: 4 kB / 1.426 GB, free: 5.996 MB / 1.107 GB Notification: Performance of Transformations before backend: time 8.06e-05/1.389, allocations: 0 / 1.426 GB, free: 5.996 MB / 1.107 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.007646/1.397, allocations: 2.871 MB / 1.429 GB, free: 3.059 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/1.397, allocations: 8.031 kB / 1.429 GB, free: 3.051 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007899/1.397, allocations: 279.1 kB / 1.429 GB, free: 2.777 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004366/1.402, allocations: 1.541 MB / 1.431 GB, free: 1.164 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/1.402, allocations: 102.3 kB / 1.431 GB, free: 1.062 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000331/1.402, allocations: 136 kB / 1.431 GB, free: 0.9297 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003562/1.406, allocations: 1.156 MB / 1.432 GB, free: 15.75 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.976e-05/1.406, allocations: 4 kB / 1.432 GB, free: 15.74 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001848/1.406, allocations: 47.94 kB / 1.432 GB, free: 15.7 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.295e-05/1.406, allocations: 28 kB / 1.432 GB, free: 15.67 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003144/1.409, allocations: 1.02 MB / 1.433 GB, free: 14.64 MB / 1.123 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.01762/1.427, allocations: 6.322 MB / 1.439 GB, free: 7.848 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/1.428, allocations: 0.5096 MB / 1.44 GB, free: 7.332 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009175/1.429, allocations: 343.4 kB / 1.44 GB, free: 6.992 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006231/1.43, allocations: 0.5031 MB / 1.441 GB, free: 6.379 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/1.43, allocations: 43.12 kB / 1.441 GB, free: 6.328 MB / 1.123 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002106/1.432, allocations: 231.3 kB / 1.441 GB, free: 6.102 MB / 1.123 GB Notification: Performance of pre-optimization done (n=58): time 4.218e-06/1.432, allocations: 4 kB / 1.441 GB, free: 6.098 MB / 1.123 GB Notification: Performance of matching and sorting (n=58): time 0.00356/1.436, allocations: 1.177 MB / 1.442 GB, free: 4.918 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/1.436, allocations: 55.97 kB / 1.442 GB, free: 4.852 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00396/1.44, allocations: 1.904 MB / 1.444 GB, free: 2.922 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002211/1.44, allocations: 45.7 kB / 1.444 GB, free: 2.871 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001151/1.441, allocations: 0.9276 MB / 1.445 GB, free: 1.934 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003013/1.441, allocations: 218.2 kB / 1.445 GB, free: 1.719 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00067/1.442, allocations: 302.6 kB / 1.446 GB, free: 1.418 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000195/1.442, allocations: 345.9 kB / 1.446 GB, free: 1.074 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/1.444, allocations: 453.9 kB / 1.446 GB, free: 0.6289 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/1.445, allocations: 0.6851 MB / 1.447 GB, free: 15.86 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002488/1.448, allocations: 0.9735 MB / 1.448 GB, free: 14.85 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/1.448, allocations: 0 / 1.448 GB, free: 14.85 MB / 1.139 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002843/1.451, allocations: 1.425 MB / 1.449 GB, free: 13.42 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/1.451, allocations: 4 kB / 1.449 GB, free: 13.41 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/1.451, allocations: 4 kB / 1.449 GB, free: 13.41 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/1.451, allocations: 8.375 kB / 1.449 GB, free: 13.4 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/1.452, allocations: 287.6 kB / 1.45 GB, free: 13.12 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.639e-05/1.452, allocations: 11.94 kB / 1.45 GB, free: 13.11 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/1.454, allocations: 79.84 kB / 1.45 GB, free: 13.03 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/1.454, allocations: 59.94 kB / 1.45 GB, free: 12.97 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001297/1.455, allocations: 0.7095 MB / 1.45 GB, free: 12.26 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009841/1.456, allocations: 0.6627 MB / 1.451 GB, free: 11.52 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001491/1.457, allocations: 0.9188 MB / 1.452 GB, free: 10.56 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.466e-06/1.457, allocations: 0 / 1.452 GB, free: 10.56 MB / 1.139 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002449/1.46, allocations: 1.359 MB / 1.453 GB, free: 9.191 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/1.46, allocations: 11.98 kB / 1.453 GB, free: 9.18 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/1.46, allocations: 0 / 1.453 GB, free: 9.18 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/1.46, allocations: 8 kB / 1.453 GB, free: 9.172 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/1.461, allocations: 271.6 kB / 1.454 GB, free: 8.906 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/1.461, allocations: 15.88 kB / 1.454 GB, free: 8.891 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/1.463, allocations: 92.06 kB / 1.454 GB, free: 8.801 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/1.463, allocations: 59.89 kB / 1.454 GB, free: 8.742 MB / 1.139 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.0003143/1.463, allocations: 232.1 kB / 1.454 GB, free: 8.508 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003146/1.463, allocations: 214.6 kB / 1.454 GB, free: 8.297 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002163/1.465, allocations: 1.092 MB / 1.455 GB, free: 7.203 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/1.465, allocations: 12 kB / 1.455 GB, free: 7.191 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.465, allocations: 4 kB / 1.455 GB, free: 7.188 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/1.465, allocations: 7.922 kB / 1.455 GB, free: 7.18 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003852/1.469, allocations: 2.437 MB / 1.458 GB, free: 4.66 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/1.469, allocations: 8.031 kB / 1.458 GB, free: 4.652 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006244/1.47, allocations: 135.8 kB / 1.458 GB, free: 4.52 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/1.47, allocations: 4 kB / 1.458 GB, free: 4.516 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.677e-05/1.47, allocations: 20 kB / 1.458 GB, free: 4.496 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/1.47, allocations: 7.984 kB / 1.458 GB, free: 4.488 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.47, allocations: 0 / 1.458 GB, free: 4.488 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/1.472, allocations: 1.079 MB / 1.459 GB, free: 3.375 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000615/1.472, allocations: 375.5 kB / 1.459 GB, free: 2.988 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002337/1.472, allocations: 12 kB / 1.459 GB, free: 2.977 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007982/1.473, allocations: 47.89 kB / 1.459 GB, free: 2.93 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/1.473, allocations: 52.47 kB / 1.459 GB, free: 2.879 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.836e-05/1.473, allocations: 31.98 kB / 1.459 GB, free: 2.848 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001828/1.475, allocations: 1.248 MB / 1.461 GB, free: 1.586 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/1.475, allocations: 0 / 1.461 GB, free: 1.586 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002399/1.478, allocations: 0.9046 MB / 1.462 GB, free: 0.6797 MB / 1.139 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.0007046/1.478, allocations: 345.4 kB / 1.462 GB, free: 352 kB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002885/1.481, allocations: 1.501 MB / 1.463 GB, free: 14.84 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/1.481, allocations: 0 / 1.463 GB, free: 14.84 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0006799/1.482, allocations: 372 kB / 1.464 GB, free: 14.48 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004301/1.486, allocations: 1.084 MB / 1.465 GB, free: 13.42 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005142/1.491, allocations: 3.06 MB / 1.468 GB, free: 10.3 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009792/1.492, allocations: 1.409 MB / 1.469 GB, free: 8.863 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001773/1.494, allocations: 399.1 kB / 1.469 GB, free: 8.477 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004287/1.495, allocations: 167.4 kB / 1.47 GB, free: 8.312 MB / 1.154 GB Notification: Performance of SimCode: time 1.052e-06/1.495, allocations: 4 kB / 1.47 GB, free: 8.309 MB / 1.154 GB Notification: Performance of Templates: time 0.06535/1.56, allocations: 38.7 MB / 1.507 GB, free: 2.199 MB / 1.186 GB make -j1 -f Buildings_11_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_11_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_11_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_11_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_11_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches