Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valOPPoi.m_flow|valKv.m_flow|valCv.m_flow|valAv.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valOPPoi.m_flow|valKv.m_flow|valCv.m_flow|valAv.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.669/2.669, allocations: 390.3 MB / 405.3 MB, free: 13.51 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 165.2 kB / 498.1 MB, free: 5.77 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 223.2 MB / 0.7948 GB, free: 18 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008641/0.0008641, allocations: 95.56 kB / 0.9346 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003246, allocations: 10.41 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2663, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.032/1.298, allocations: 396.8 MB / 1.61 GB, free: 14.93 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/1.298, allocations: 100.2 kB / 1.611 GB, free: 14.88 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.486/2.784, allocations: 418.8 MB / 2.019 GB, free: 316.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.603e-06/2.784, allocations: 0 / 2.019 GB, free: 316.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.162e-05/2.785, allocations: 31.14 kB / 2.019 GB, free: 316.8 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001929/2.786, allocations: 1.19 MB / 2.021 GB, free: 315.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/2.786, allocations: 8.031 kB / 2.021 GB, free: 315.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/2.787, allocations: 99.17 kB / 2.021 GB, free: 315.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008852/2.788, allocations: 0.5838 MB / 2.021 GB, free: 314.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/2.788, allocations: 47.94 kB / 2.021 GB, free: 314.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.079e-05/2.788, allocations: 56 kB / 2.021 GB, free: 314.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000601/2.788, allocations: 398.4 kB / 2.022 GB, free: 314.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/2.788, allocations: 0 / 2.022 GB, free: 314.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.887e-05/2.788, allocations: 20 kB / 2.022 GB, free: 314.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/2.788, allocations: 19.25 kB / 2.022 GB, free: 314.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000484/2.789, allocations: 303.7 kB / 2.022 GB, free: 314 MB / 1.167 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.002418/2.791, allocations: 1.853 MB / 2.024 GB, free: 312 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/2.792, allocations: 178 kB / 2.024 GB, free: 311.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002156/2.792, allocations: 339.1 kB / 2.024 GB, free: 311.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/2.792, allocations: 40.31 kB / 2.024 GB, free: 311.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=19): time 1.883e-06/2.792, allocations: 2.906 kB / 2.024 GB, free: 311.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=19): time 0.0006118/2.792, allocations: 313.5 kB / 2.025 GB, free: 311.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/2.792, allocations: 55.41 kB / 2.025 GB, free: 311 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005153/2.793, allocations: 0.5898 MB / 2.025 GB, free: 310.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/2.793, allocations: 37.7 kB / 2.025 GB, free: 310.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000184/2.793, allocations: 363.5 kB / 2.026 GB, free: 310 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/2.793, allocations: 66.95 kB / 2.026 GB, free: 310 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.568e-05/2.793, allocations: 10.5 kB / 2.026 GB, free: 310 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001157/2.793, allocations: 382.8 kB / 2.026 GB, free: 309.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/2.794, allocations: 100.7 kB / 2.026 GB, free: 309.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/2.794, allocations: 216.5 kB / 2.027 GB, free: 309.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/2.794, allocations: 133.3 kB / 2.027 GB, free: 309.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/2.794, allocations: 0 / 2.027 GB, free: 309.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005865/2.795, allocations: 397.3 kB / 2.027 GB, free: 308.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.2e-05/2.795, allocations: 278.8 kB / 2.027 GB, free: 308.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/2.795, allocations: 0 / 2.027 GB, free: 308.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/2.795, allocations: 4 kB / 2.027 GB, free: 308.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000772/2.796, allocations: 135.4 kB / 2.027 GB, free: 308.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008479/2.796, allocations: 2.365 MB / 2.03 GB, free: 305.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006169/2.797, allocations: 94.42 kB / 2.03 GB, free: 305.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/2.797, allocations: 15.98 kB / 2.03 GB, free: 305.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.316e-06/2.797, allocations: 4 kB / 2.03 GB, free: 305.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004787/2.798, allocations: 291 kB / 2.03 GB, free: 305.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-06/2.798, allocations: 0 / 2.03 GB, free: 305.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.506e-06/2.798, allocations: 4 kB / 2.03 GB, free: 305.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/2.798, allocations: 99.88 kB / 2.03 GB, free: 305.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/2.798, allocations: 4 kB / 2.03 GB, free: 305.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004802/2.799, allocations: 89.28 kB / 2.03 GB, free: 305.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/2.799, allocations: 18.98 kB / 2.03 GB, free: 305.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002642/2.799, allocations: 275.7 kB / 2.031 GB, free: 305 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.516e-05/2.799, allocations: 78.98 kB / 2.031 GB, free: 304.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005563/2.8, allocations: 312 kB / 2.031 GB, free: 304.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/2.8, allocations: 3.984 kB / 2.031 GB, free: 304.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/2.8, allocations: 3.125 kB / 2.031 GB, free: 304.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/2.8, allocations: 0 / 2.031 GB, free: 304.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/2.801, allocations: 0.9032 MB / 2.032 GB, free: 303.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/2.801, allocations: 0 / 2.032 GB, free: 303.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000294/2.801, allocations: 83.81 kB / 2.032 GB, free: 303.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/2.801, allocations: 0 / 2.032 GB, free: 303.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/2.801, allocations: 11 kB / 2.032 GB, free: 303.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006488/2.802, allocations: 2.355 MB / 2.034 GB, free: 301.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/2.802, allocations: 2.812 kB / 2.034 GB, free: 301.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000451/2.802, allocations: 452 kB / 2.035 GB, free: 300.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001843/2.802, allocations: 176 kB / 2.035 GB, free: 300.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/2.802, allocations: 8 kB / 2.035 GB, free: 300.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003889/2.803, allocations: 47.19 kB / 2.035 GB, free: 300.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.393e-05/2.803, allocations: 35.23 kB / 2.035 GB, free: 300.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/2.803, allocations: 8 kB / 2.035 GB, free: 300.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004257/2.803, allocations: 471 kB / 2.035 GB, free: 299.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/2.803, allocations: 0 / 2.035 GB, free: 299.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0009846/2.804, allocations: 397.9 kB / 2.036 GB, free: 299.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007215/2.805, allocations: 478 kB / 2.036 GB, free: 299.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00117/2.806, allocations: 455.2 kB / 2.037 GB, free: 298.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/2.806, allocations: 0 / 2.037 GB, free: 298.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003054/2.807, allocations: 142.7 kB / 2.037 GB, free: 298.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/2.808, allocations: 369.5 kB / 2.037 GB, free: 298.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/2.81, allocations: 1.316 MB / 2.038 GB, free: 296.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/2.81, allocations: 0.9551 MB / 2.039 GB, free: 295.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0004393/2.81, allocations: 111.1 kB / 2.039 GB, free: 295.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.957e-05/2.81, allocations: 47.42 kB / 2.04 GB, free: 295.8 MB / 1.167 GB Notification: Performance of SimCode: time 4.31e-07/2.81, allocations: 3.938 kB / 2.04 GB, free: 295.8 MB / 1.167 GB Notification: Performance of Templates: time 0.02039/2.831, allocations: 14.85 MB / 2.054 GB, free: 281.5 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.csv","../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches