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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.01153/0.01153, allocations: 100.8 kB / 15.73 MB, free: 6.047 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.002357/0.002357, allocations: 197.1 kB / 16.68 MB, free: 5.977 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.773/2.773, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 64.12 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3622, allocations: 157.4 MB / 1.208 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.8743/1.237, allocations: 154.4 MB / 1.358 GB, free: 0.5 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.04649/1.283, allocations: 30.41 MB / 1.388 GB, free: 9.055 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008021/1.291, allocations: 136.7 kB / 1.388 GB, free: 9.004 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00345/1.295, allocations: 1.043 MB / 1.389 GB, free: 8.09 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01027/1.305, allocations: 3.151 MB / 1.392 GB, free: 5.57 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.007291/1.312, allocations: 2.515 MB / 1.395 GB, free: 3.672 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.009886/1.322, allocations: 5.389 MB / 1.4 GB, free: 0.5625 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004295/1.327, allocations: 2.235 MB / 1.402 GB, free: 15.09 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006995/1.334, allocations: 2.744 MB / 1.405 GB, free: 13.41 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004409/1.338, allocations: 1.965 MB / 1.407 GB, free: 12.22 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0009052/1.339, allocations: 212.5 kB / 1.407 GB, free: 12.22 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003661/1.343, allocations: 1.099 MB / 1.408 GB, free: 11.71 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0009979/1.344, allocations: 0.5535 MB / 1.409 GB, free: 11.25 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.00368/1.347, allocations: 1.272 MB / 1.41 GB, free: 10.38 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.007542/1.355, allocations: 3.325 MB / 1.413 GB, free: 8.016 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.355, allocations: 0 / 1.413 GB, free: 8.016 MB / 1.092 GB Notification: Performance of FrontEnd: time 4.488e-06/1.355, allocations: 0 / 1.413 GB, free: 8.016 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001505/1.355, allocations: 3.938 kB / 1.413 GB, free: 8.012 MB / 1.092 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.006901/1.362, allocations: 2.787 MB / 1.416 GB, free: 5.16 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/1.362, allocations: 12.62 kB / 1.416 GB, free: 5.148 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005302/1.363, allocations: 260.9 kB / 1.416 GB, free: 4.891 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002561/1.365, allocations: 1.52 MB / 1.418 GB, free: 3.297 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.01e-05/1.365, allocations: 106.3 kB / 1.418 GB, free: 3.191 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002088/1.365, allocations: 140 kB / 1.418 GB, free: 3.055 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/1.368, allocations: 1.156 MB / 1.419 GB, free: 1.871 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/1.368, allocations: 3.938 kB / 1.419 GB, free: 1.867 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/1.368, allocations: 48 kB / 1.419 GB, free: 1.82 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/1.368, allocations: 28.88 kB / 1.419 GB, free: 1.793 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/1.37, allocations: 1.009 MB / 1.42 GB, free: 0.7773 MB / 1.092 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.01023/1.38, allocations: 6.332 MB / 1.426 GB, free: 9.98 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009668/1.381, allocations: 0.5752 MB / 1.427 GB, free: 9.398 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005607/1.381, allocations: 385 kB / 1.427 GB, free: 9.027 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004265/1.382, allocations: 0.5031 MB / 1.428 GB, free: 8.414 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/1.382, allocations: 39.12 kB / 1.428 GB, free: 8.367 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001273/1.383, allocations: 234.8 kB / 1.428 GB, free: 8.137 MB / 1.107 GB Notification: Performance of pre-optimization done (n=58): time 5.541e-06/1.383, allocations: 0 / 1.428 GB, free: 8.137 MB / 1.107 GB Notification: Performance of matching and sorting (n=58): time 0.002282/1.385, allocations: 1.168 MB / 1.429 GB, free: 6.961 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/1.385, allocations: 55.97 kB / 1.429 GB, free: 6.895 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002658/1.388, allocations: 1.9 MB / 1.431 GB, free: 4.969 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 9.406e-05/1.388, allocations: 49.7 kB / 1.431 GB, free: 4.914 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007945/1.389, allocations: 0.9184 MB / 1.432 GB, free: 3.984 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/1.389, allocations: 205 kB / 1.432 GB, free: 3.781 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004695/1.39, allocations: 294.6 kB / 1.432 GB, free: 3.488 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001464/1.39, allocations: 349.9 kB / 1.433 GB, free: 3.141 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000828/1.391, allocations: 449.9 kB / 1.433 GB, free: 2.699 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/1.392, allocations: 0.684 MB / 1.434 GB, free: 1.934 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/1.393, allocations: 0.9813 MB / 1.435 GB, free: 0.9141 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/1.393, allocations: 0 / 1.435 GB, free: 0.9141 MB / 1.107 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002525/1.396, allocations: 1.404 MB / 1.436 GB, free: 15.5 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/1.396, allocations: 8 kB / 1.436 GB, free: 15.49 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/1.396, allocations: 4 kB / 1.436 GB, free: 15.49 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.379e-05/1.396, allocations: 8 kB / 1.436 GB, free: 15.48 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/1.397, allocations: 279.5 kB / 1.437 GB, free: 15.21 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.612e-05/1.397, allocations: 12.31 kB / 1.437 GB, free: 15.2 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/1.399, allocations: 83.84 kB / 1.437 GB, free: 15.11 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/1.399, allocations: 63.94 kB / 1.437 GB, free: 15.05 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001292/1.4, allocations: 0.7056 MB / 1.437 GB, free: 14.34 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009706/1.401, allocations: 0.6645 MB / 1.438 GB, free: 13.6 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001516/1.403, allocations: 0.9188 MB / 1.439 GB, free: 12.64 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.911e-06/1.403, allocations: 0 / 1.439 GB, free: 12.64 MB / 1.123 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002522/1.405, allocations: 1.35 MB / 1.44 GB, free: 11.28 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/1.405, allocations: 12 kB / 1.44 GB, free: 11.27 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/1.405, allocations: 0 / 1.44 GB, free: 11.27 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/1.405, allocations: 8 kB / 1.44 GB, free: 11.26 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/1.406, allocations: 275.6 kB / 1.44 GB, free: 10.99 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.946e-05/1.407, allocations: 8 kB / 1.441 GB, free: 10.98 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/1.408, allocations: 95.84 kB / 1.441 GB, free: 10.89 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/1.408, allocations: 55.95 kB / 1.441 GB, free: 10.83 MB / 1.123 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.0003331/1.409, allocations: 239.9 kB / 1.441 GB, free: 10.59 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004278/1.409, allocations: 197.5 kB / 1.441 GB, free: 10.39 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/1.411, allocations: 1.092 MB / 1.442 GB, free: 9.289 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/1.411, allocations: 8 kB / 1.442 GB, free: 9.281 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/1.411, allocations: 3.938 kB / 1.442 GB, free: 9.277 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/1.411, allocations: 7.922 kB / 1.442 GB, free: 9.27 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004086/1.415, allocations: 2.437 MB / 1.445 GB, free: 6.754 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/1.415, allocations: 4.094 kB / 1.445 GB, free: 6.75 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006316/1.416, allocations: 140 kB / 1.445 GB, free: 6.613 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.428e-05/1.416, allocations: 7.984 kB / 1.445 GB, free: 6.605 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.566e-05/1.416, allocations: 19.98 kB / 1.445 GB, free: 6.586 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-06/1.416, allocations: 7.984 kB / 1.445 GB, free: 6.578 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.416, allocations: 0 / 1.445 GB, free: 6.578 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001649/1.418, allocations: 1.082 MB / 1.446 GB, free: 5.457 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007197/1.419, allocations: 350.4 kB / 1.446 GB, free: 5.094 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003183/1.419, allocations: 16 kB / 1.446 GB, free: 5.078 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008402/1.42, allocations: 39.95 kB / 1.446 GB, free: 5.039 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/1.42, allocations: 48.59 kB / 1.446 GB, free: 4.992 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.855e-05/1.42, allocations: 23.98 kB / 1.446 GB, free: 4.969 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.00183/1.422, allocations: 1.256 MB / 1.447 GB, free: 3.699 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/1.422, allocations: 0 / 1.447 GB, free: 3.699 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.00235/1.424, allocations: 0.9003 MB / 1.448 GB, free: 2.797 MB / 1.123 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.0007253/1.425, allocations: 337 kB / 1.449 GB, free: 2.473 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.003023/1.428, allocations: 1.625 MB / 1.45 GB, free: 0.8516 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/1.428, allocations: 3.938 kB / 1.45 GB, free: 0.8477 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0006693/1.429, allocations: 417 kB / 1.451 GB, free: 452 kB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004397/1.433, allocations: 1.078 MB / 1.452 GB, free: 15.39 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004958/1.438, allocations: 2.985 MB / 1.455 GB, free: 12.35 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/1.439, allocations: 1.409 MB / 1.456 GB, free: 10.91 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.002028/1.441, allocations: 406.2 kB / 1.456 GB, free: 10.52 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005412/1.442, allocations: 159.4 kB / 1.457 GB, free: 10.36 MB / 1.139 GB Notification: Performance of SimCode: time 5.91e-07/1.442, allocations: 0 / 1.457 GB, free: 10.36 MB / 1.139 GB Notification: Performance of Templates: time 0.06704/1.509, allocations: 38.5 MB / 1.494 GB, free: 4.418 MB / 1.17 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/jenkins/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