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.01051/0.01051, allocations: 98.17 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.002249/0.002249, allocations: 196.2 kB / 16.68 MB, free: 5.93 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.477/1.477, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.541/2.541, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 67.89 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.133/1.134, allocations: 151.6 MB / 1.167 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1792/1.313, allocations: 154.4 MB / 1.317 GB, free: 8.844 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.05059/1.364, allocations: 30.39 MB / 1.347 GB, free: 10.39 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008651/1.372, allocations: 139.2 kB / 1.347 GB, free: 10.25 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004514/1.377, allocations: 1.043 MB / 1.348 GB, free: 9.199 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01312/1.39, allocations: 3.157 MB / 1.351 GB, free: 6.031 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.008464/1.399, allocations: 2.52 MB / 1.354 GB, free: 3.543 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01085/1.409, allocations: 5.395 MB / 1.359 GB, free: 14.13 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005282/1.415, allocations: 2.232 MB / 1.361 GB, free: 11.85 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008128/1.423, allocations: 2.685 MB / 1.364 GB, free: 9.156 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005665/1.429, allocations: 1.965 MB / 1.366 GB, free: 7.184 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001412/1.43, allocations: 216 kB / 1.366 GB, free: 6.973 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004423/1.435, allocations: 1.088 MB / 1.367 GB, free: 5.883 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001337/1.436, allocations: 0.5603 MB / 1.368 GB, free: 5.32 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.004115/1.44, allocations: 1.267 MB / 1.369 GB, free: 4.047 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.008476/1.449, allocations: 3.34 MB / 1.372 GB, free: 0.6953 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/1.449, allocations: 4 kB / 1.372 GB, free: 0.6914 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.274e-06/1.449, allocations: 0 / 1.372 GB, free: 0.6914 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001642/1.449, allocations: 0 / 1.372 GB, free: 0.6914 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.008409/1.457, allocations: 2.863 MB / 1.375 GB, free: 13.76 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/1.457, allocations: 12.58 kB / 1.375 GB, free: 13.75 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/1.459, allocations: 278.3 kB / 1.375 GB, free: 13.47 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003998/1.463, allocations: 1.545 MB / 1.377 GB, free: 11.86 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/1.463, allocations: 102.3 kB / 1.377 GB, free: 11.75 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003833/1.463, allocations: 143.9 kB / 1.377 GB, free: 11.61 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002779/1.466, allocations: 1.159 MB / 1.378 GB, free: 10.43 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/1.466, allocations: 3.938 kB / 1.378 GB, free: 10.42 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/1.466, allocations: 44 kB / 1.378 GB, free: 10.38 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-05/1.466, allocations: 28 kB / 1.378 GB, free: 10.35 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00213/1.468, allocations: 1.013 MB / 1.379 GB, free: 9.332 MB / 1.107 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.0123/1.481, allocations: 6.333 MB / 1.385 GB, free: 2.535 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/1.482, allocations: 0.5824 MB / 1.386 GB, free: 1.945 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006423/1.482, allocations: 382.4 kB / 1.386 GB, free: 1.566 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005567/1.483, allocations: 0.5031 MB / 1.387 GB, free: 0.9531 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/1.483, allocations: 43.11 kB / 1.387 GB, free: 0.9023 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001583/1.485, allocations: 235.3 kB / 1.387 GB, free: 0.6719 MB / 1.107 GB Notification: Performance of pre-optimization done (n=58): time 5.49e-06/1.485, allocations: 3.938 kB / 1.387 GB, free: 0.668 MB / 1.107 GB Notification: Performance of matching and sorting (n=58): time 0.002613/1.487, allocations: 1.169 MB / 1.388 GB, free: 15.5 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/1.487, allocations: 63.91 kB / 1.388 GB, free: 15.42 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003554/1.491, allocations: 1.908 MB / 1.39 GB, free: 13.49 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001649/1.491, allocations: 41.7 kB / 1.39 GB, free: 13.44 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/1.492, allocations: 0.9275 MB / 1.391 GB, free: 12.5 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/1.492, allocations: 218.2 kB / 1.391 GB, free: 12.29 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006259/1.493, allocations: 298.7 kB / 1.391 GB, free: 11.99 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001692/1.493, allocations: 345.9 kB / 1.392 GB, free: 11.65 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008995/1.494, allocations: 453.9 kB / 1.392 GB, free: 11.2 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/1.495, allocations: 0.6878 MB / 1.393 GB, free: 10.43 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/1.497, allocations: 0.9696 MB / 1.394 GB, free: 9.422 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/1.497, allocations: 4 kB / 1.394 GB, free: 9.418 MB / 1.123 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002912/1.5, allocations: 1.413 MB / 1.395 GB, free: 7.996 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/1.5, allocations: 8 kB / 1.395 GB, free: 7.988 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/1.5, allocations: 0 / 1.395 GB, free: 7.988 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.309e-05/1.5, allocations: 12 kB / 1.395 GB, free: 7.977 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/1.501, allocations: 279.5 kB / 1.396 GB, free: 7.703 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.405e-05/1.501, allocations: 15.92 kB / 1.396 GB, free: 7.688 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/1.503, allocations: 72.19 kB / 1.396 GB, free: 7.617 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/1.503, allocations: 67.88 kB / 1.396 GB, free: 7.551 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001418/1.505, allocations: 0.7056 MB / 1.396 GB, free: 6.84 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001026/1.506, allocations: 0.6567 MB / 1.397 GB, free: 6.109 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001538/1.507, allocations: 0.9149 MB / 1.398 GB, free: 5.152 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.97e-06/1.507, allocations: 4 kB / 1.398 GB, free: 5.148 MB / 1.123 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002799/1.51, allocations: 1.358 MB / 1.399 GB, free: 3.781 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/1.51, allocations: 8 kB / 1.399 GB, free: 3.773 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.51, allocations: 4.375 kB / 1.399 GB, free: 3.77 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/1.51, allocations: 12 kB / 1.399 GB, free: 3.758 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/1.511, allocations: 271.6 kB / 1.399 GB, free: 3.492 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.017e-05/1.511, allocations: 19.91 kB / 1.4 GB, free: 3.473 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/1.513, allocations: 87.86 kB / 1.4 GB, free: 3.387 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001508/1.514, allocations: 59.94 kB / 1.4 GB, free: 3.328 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.0003873/1.514, allocations: 236 kB / 1.4 GB, free: 3.09 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006313/1.515, allocations: 218.5 kB / 1.4 GB, free: 2.875 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002612/1.517, allocations: 1.092 MB / 1.401 GB, free: 1.777 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.423e-05/1.517, allocations: 12 kB / 1.401 GB, free: 1.766 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.594e-05/1.517, allocations: 3.938 kB / 1.401 GB, free: 1.762 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/1.517, allocations: 7.984 kB / 1.401 GB, free: 1.754 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004965/1.522, allocations: 2.437 MB / 1.404 GB, free: 15.24 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/1.522, allocations: 0 / 1.404 GB, free: 15.24 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006383/1.523, allocations: 135.8 kB / 1.404 GB, free: 15.11 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.659e-05/1.523, allocations: 4.188 kB / 1.404 GB, free: 15.1 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.434e-05/1.523, allocations: 27.98 kB / 1.404 GB, free: 15.07 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.256e-06/1.523, allocations: 4 kB / 1.404 GB, free: 15.07 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.523, allocations: 4 kB / 1.404 GB, free: 15.07 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/1.525, allocations: 1.079 MB / 1.405 GB, free: 13.95 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008586/1.526, allocations: 371.5 kB / 1.405 GB, free: 13.57 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004813/1.526, allocations: 16.09 kB / 1.405 GB, free: 13.55 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/1.527, allocations: 35.95 kB / 1.405 GB, free: 13.52 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/1.527, allocations: 52.58 kB / 1.405 GB, free: 13.46 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.924e-05/1.528, allocations: 27.98 kB / 1.405 GB, free: 13.44 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.00234/1.53, allocations: 1.256 MB / 1.406 GB, free: 12.17 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.754e-06/1.53, allocations: 0 / 1.406 GB, free: 12.17 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002914/1.533, allocations: 0.9006 MB / 1.407 GB, free: 11.27 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.000961/1.534, allocations: 340.8 kB / 1.408 GB, free: 10.94 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003525/1.537, allocations: 1.622 MB / 1.409 GB, free: 9.32 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/1.537, allocations: 0 / 1.409 GB, free: 9.32 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0007327/1.538, allocations: 412.8 kB / 1.41 GB, free: 8.918 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005119/1.543, allocations: 1.089 MB / 1.411 GB, free: 7.855 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005924/1.549, allocations: 3.052 MB / 1.414 GB, free: 4.75 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001646/1.551, allocations: 1.409 MB / 1.415 GB, free: 3.301 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.002291/1.553, allocations: 399.8 kB / 1.415 GB, free: 2.906 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006644/1.554, allocations: 163.4 kB / 1.416 GB, free: 2.746 MB / 1.139 GB Notification: Performance of SimCode: time 8.52e-07/1.554, allocations: 0 / 1.416 GB, free: 2.746 MB / 1.139 GB Notification: Performance of Templates: time 0.07209/1.626, allocations: 38.51 MB / 1.453 GB, free: 12.76 MB / 1.186 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