Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.54/2.54, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001607/0.001607, allocations: 183.9 kB / 0.4902 GB, free: 2.262 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.741/1.741, allocations: 223.1 MB / 0.7992 GB, free: 14.66 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.0009861/0.0009865, allocations: 102 kB / 0.9396 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.00037, allocations: 15.56 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3199, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.032/1.352, allocations: 397.6 MB / 1.618 GB, free: 15.25 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004106/1.352, allocations: 102.9 kB / 1.618 GB, free: 15.19 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.456/2.809, allocations: 418.8 MB / 2.027 GB, free: 301.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.574e-06/2.809, allocations: 0 / 2.027 GB, free: 301.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000141/2.809, allocations: 34.52 kB / 2.027 GB, free: 301.2 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.004147/2.813, allocations: 1.18 MB / 2.028 GB, free: 300 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/2.813, allocations: 14.31 kB / 2.028 GB, free: 300 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004716/2.813, allocations: 99.17 kB / 2.028 GB, free: 299.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002141/2.816, allocations: 0.5853 MB / 2.028 GB, free: 299.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-05/2.816, allocations: 47.78 kB / 2.029 GB, free: 299.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/2.816, allocations: 56 kB / 2.029 GB, free: 299.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/2.817, allocations: 398.4 kB / 2.029 GB, free: 298.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/2.817, allocations: 0 / 2.029 GB, free: 298.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-05/2.817, allocations: 20 kB / 2.029 GB, free: 298.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/2.817, allocations: 14.97 kB / 2.029 GB, free: 298.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009094/2.818, allocations: 299.7 kB / 2.029 GB, free: 298.5 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.003522/2.822, allocations: 1.854 MB / 2.031 GB, free: 296.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/2.822, allocations: 177.5 kB / 2.031 GB, free: 296.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002535/2.822, allocations: 343.4 kB / 2.032 GB, free: 296 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/2.822, allocations: 37.59 kB / 2.032 GB, free: 295.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=19): time 2.004e-06/2.822, allocations: 0 / 2.032 GB, free: 295.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=19): time 0.0007521/2.823, allocations: 317.8 kB / 2.032 GB, free: 295.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/2.823, allocations: 51.41 kB / 2.032 GB, free: 295.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006495/2.824, allocations: 0.5937 MB / 2.033 GB, free: 294.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.443e-05/2.824, allocations: 33.7 kB / 2.033 GB, free: 294.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/2.824, allocations: 360.7 kB / 2.033 GB, free: 294.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 4.454e-05/2.824, allocations: 71.38 kB / 2.033 GB, free: 294.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.72e-05/2.824, allocations: 12 kB / 2.033 GB, free: 294.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.42e-05/2.824, allocations: 374.7 kB / 2.033 GB, free: 294.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/2.825, allocations: 108.6 kB / 2.033 GB, free: 294 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002647/2.825, allocations: 216.5 kB / 2.034 GB, free: 293.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/2.825, allocations: 131.8 kB / 2.034 GB, free: 293.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/2.825, allocations: 112 / 2.034 GB, free: 293.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006124/2.826, allocations: 398.5 kB / 2.034 GB, free: 293.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.274e-05/2.826, allocations: 281.9 kB / 2.034 GB, free: 292.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/2.826, allocations: 3.938 kB / 2.034 GB, free: 292.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/2.826, allocations: 4 kB / 2.034 GB, free: 292.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008131/2.827, allocations: 129.3 kB / 2.035 GB, free: 292.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009322/2.828, allocations: 2.376 MB / 2.037 GB, free: 290.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007291/2.828, allocations: 89.22 kB / 2.037 GB, free: 290.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.754e-05/2.828, allocations: 19.98 kB / 2.037 GB, free: 290.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.338e-06/2.828, allocations: 4 kB / 2.037 GB, free: 290.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006183/2.829, allocations: 290.7 kB / 2.037 GB, free: 289.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/2.829, allocations: 0 / 2.037 GB, free: 289.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.062e-06/2.829, allocations: 0 / 2.037 GB, free: 289.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004412/2.83, allocations: 102.6 kB / 2.037 GB, free: 289.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/2.83, allocations: 0 / 2.037 GB, free: 289.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006624/2.83, allocations: 92.86 kB / 2.037 GB, free: 289.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/2.83, allocations: 16 kB / 2.037 GB, free: 289.7 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.0002813/2.831, allocations: 269 kB / 2.038 GB, free: 289.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.077e-05/2.831, allocations: 67.06 kB / 2.038 GB, free: 289.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00059/2.831, allocations: 316.6 kB / 2.038 GB, free: 289.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/2.831, allocations: 4 kB / 2.038 GB, free: 289.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/2.831, allocations: 0 / 2.038 GB, free: 289.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/2.831, allocations: 0 / 2.038 GB, free: 289.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/2.832, allocations: 0.9043 MB / 2.039 GB, free: 288.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/2.832, allocations: 0 / 2.039 GB, free: 288.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/2.833, allocations: 79.81 kB / 2.039 GB, free: 288 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/2.833, allocations: 0 / 2.039 GB, free: 288 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/2.833, allocations: 8 kB / 2.039 GB, free: 288 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007083/2.833, allocations: 2.361 MB / 2.041 GB, free: 285.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/2.833, allocations: 6.688 kB / 2.041 GB, free: 285.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005251/2.834, allocations: 453.6 kB / 2.042 GB, free: 285.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002136/2.834, allocations: 176 kB / 2.042 GB, free: 284.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.4e-05/2.834, allocations: 8 kB / 2.042 GB, free: 284.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005067/2.835, allocations: 50.56 kB / 2.042 GB, free: 284.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.381e-05/2.835, allocations: 27.86 kB / 2.042 GB, free: 284.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/2.835, allocations: 4 kB / 2.042 GB, free: 284.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005091/2.835, allocations: 475 kB / 2.043 GB, free: 284.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/2.835, allocations: 0 / 2.043 GB, free: 284.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001193/2.837, allocations: 383.4 kB / 2.043 GB, free: 284 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.0008564/2.838, allocations: 481.9 kB / 2.043 GB, free: 283.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001231/2.839, allocations: 463.7 kB / 2.044 GB, free: 283.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/2.839, allocations: 0 / 2.044 GB, free: 283.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003167/2.839, allocations: 135.8 kB / 2.044 GB, free: 283 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/2.841, allocations: 379.5 kB / 2.044 GB, free: 282.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/2.842, allocations: 1.315 MB / 2.046 GB, free: 281.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/2.843, allocations: 0.953 MB / 2.046 GB, free: 280.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0004508/2.843, allocations: 112.9 kB / 2.047 GB, free: 280.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.106e-05/2.843, allocations: 43.44 kB / 2.047 GB, free: 280.2 MB / 1.167 GB Notification: Performance of SimCode: time 4.71e-07/2.843, allocations: 0 / 2.047 GB, free: 280.2 MB / 1.167 GB Notification: Performance of Templates: time 0.02185/2.865, allocations: 14.86 MB / 2.061 GB, free: 265.7 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.csv","../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches