Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.439/1.439, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 180.7 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.4 MB / 0.5775 GB, free: 20.56 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008255/0.0008254, allocations: 86.02 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002958/0.0002958, allocations: 13.75 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1605, allocations: 106.3 MB / 0.9001 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7431/0.9037, allocations: 423.3 MB / 1.313 GB, free: 9.254 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003353/0.9041, allocations: 107 kB / 1.314 GB, free: 9.195 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.363/4.267, allocations: 1.072 GB / 2.386 GB, free: 22.23 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.784e-06/4.267, allocations: 0 / 2.386 GB, free: 22.23 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003635/4.267, allocations: 67.91 kB / 2.386 GB, free: 22.16 MB / 0.8855 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.007502/4.275, allocations: 2.695 MB / 2.388 GB, free: 19.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/4.275, allocations: 11.97 kB / 2.388 GB, free: 19.39 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/4.276, allocations: 269.2 kB / 2.389 GB, free: 19.12 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004566/4.281, allocations: 1.587 MB / 2.39 GB, free: 17.46 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/4.281, allocations: 106.3 kB / 2.39 GB, free: 17.36 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004217/4.281, allocations: 148 kB / 2.39 GB, free: 17.21 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002351/4.283, allocations: 1.152 MB / 2.392 GB, free: 16.04 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/4.284, allocations: 0 / 2.392 GB, free: 16.04 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/4.284, allocations: 48 kB / 2.392 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/4.284, allocations: 28 kB / 2.392 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/4.285, allocations: 0.997 MB / 2.393 GB, free: 14.96 MB / 0.8855 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.01078/4.296, allocations: 6.346 MB / 2.399 GB, free: 8.145 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008804/4.297, allocations: 0.5879 MB / 2.399 GB, free: 7.539 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003318/4.297, allocations: 0.5109 MB / 2.4 GB, free: 6.918 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/4.298, allocations: 39.12 kB / 2.4 GB, free: 6.871 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00235/4.3, allocations: 470.5 kB / 2.4 GB, free: 6.41 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=58): time 8.306e-06/4.3, allocations: 0 / 2.4 GB, free: 6.41 MB / 0.8855 GB Notification: Performance of matching and sorting (n=58): time 0.002209/4.302, allocations: 1.121 MB / 2.401 GB, free: 5.281 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/4.302, allocations: 63.91 kB / 2.402 GB, free: 5.207 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002493/4.305, allocations: 1.598 MB / 2.403 GB, free: 3.586 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001787/4.305, allocations: 49.7 kB / 2.403 GB, free: 3.531 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007163/4.306, allocations: 0.9378 MB / 2.404 GB, free: 2.582 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/4.306, allocations: 205 kB / 2.404 GB, free: 2.379 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.928e-05/4.306, allocations: 20 kB / 2.404 GB, free: 2.359 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.45e-05/4.306, allocations: 349.9 kB / 2.405 GB, free: 2.012 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006738/4.307, allocations: 414.4 kB / 2.405 GB, free: 1.605 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009184/4.308, allocations: 0.7414 MB / 2.406 GB, free: 0.7344 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008627/4.308, allocations: 0.4968 MB / 2.406 GB, free: 252 kB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/4.308, allocations: 4 kB / 2.406 GB, free: 248 kB / 0.8855 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002606/4.311, allocations: 1.338 MB / 2.408 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004188/4.311, allocations: 0.9382 MB / 2.408 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/4.311, allocations: 4 kB / 2.408 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.272e-05/4.312, allocations: 12 kB / 2.408 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/4.313, allocations: 275.6 kB / 2.409 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.591e-05/4.313, allocations: 11.94 kB / 2.409 GB, free: 13.56 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/4.315, allocations: 159.6 kB / 2.409 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00017/4.315, allocations: 67.94 kB / 2.409 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/4.315, allocations: 4 kB / 2.409 GB, free: 13.33 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002063/4.317, allocations: 1.108 MB / 2.41 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/4.317, allocations: 0 / 2.41 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/4.317, allocations: 15.89 kB / 2.41 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/4.319, allocations: 279.8 kB / 2.41 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/4.319, allocations: 7.938 kB / 2.41 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002183/4.321, allocations: 167.6 kB / 2.41 GB, free: 11.76 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/4.321, allocations: 63.94 kB / 2.411 GB, free: 11.7 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (146): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001123/4.322, allocations: 444.8 kB / 2.411 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000503/4.323, allocations: 197.5 kB / 2.411 GB, free: 11.06 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002236/4.325, allocations: 1.064 MB / 2.412 GB, free: 9.988 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/4.325, allocations: 11.95 kB / 2.412 GB, free: 9.977 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/4.325, allocations: 0 / 2.412 GB, free: 9.977 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/4.325, allocations: 7.984 kB / 2.412 GB, free: 9.969 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004812/4.33, allocations: 2.362 MB / 2.415 GB, free: 7.527 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/4.33, allocations: 4 kB / 2.415 GB, free: 7.523 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005685/4.33, allocations: 135.8 kB / 2.415 GB, free: 7.391 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.098e-05/4.33, allocations: 8.188 kB / 2.415 GB, free: 7.383 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.161e-05/4.33, allocations: 19.98 kB / 2.415 GB, free: 7.363 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/4.33, allocations: 4 kB / 2.415 GB, free: 7.359 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/4.33, allocations: 0 / 2.415 GB, free: 7.359 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/4.332, allocations: 1.159 MB / 2.416 GB, free: 6.117 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009662/4.333, allocations: 366.2 kB / 2.416 GB, free: 5.738 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004136/4.334, allocations: 15.94 kB / 2.416 GB, free: 5.723 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/4.335, allocations: 115.7 kB / 2.416 GB, free: 5.609 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/4.335, allocations: 48.59 kB / 2.416 GB, free: 5.562 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.256e-05/4.335, allocations: 35.88 kB / 2.416 GB, free: 5.527 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001924/4.337, allocations: 1.204 MB / 2.418 GB, free: 4.309 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.11e-07/4.337, allocations: 0 / 2.418 GB, free: 4.309 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003561/4.341, allocations: 0.9753 MB / 2.419 GB, free: 3.332 MB / 0.9011 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001881/4.342, allocations: 0.9644 MB / 2.419 GB, free: 2.379 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002968/4.345, allocations: 1.567 MB / 2.421 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/4.345, allocations: 0 / 2.421 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0006019/4.346, allocations: 408.6 kB / 2.421 GB, free: 428 kB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.5346/4.881, allocations: 1.138 MB / 2.422 GB, free: 103 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004839/4.886, allocations: 3.433 MB / 2.426 GB, free: 101.3 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009533/4.887, allocations: 1.436 MB / 2.427 GB, free: 100.6 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002353/4.889, allocations: 395 kB / 2.428 GB, free: 100.6 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004159/4.889, allocations: 163.8 kB / 2.428 GB, free: 100.6 MB / 0.9011 GB Notification: Performance of SimCode: time 1.011e-06/4.889, allocations: 2.406 kB / 2.428 GB, free: 100.6 MB / 0.9011 GB Notification: Performance of Templates: time 0.08599/4.975, allocations: 43.63 MB / 2.47 GB, free: 99.34 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches