Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.TwoWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valOPPoi.m_flow|valKv.m_flow|valCv.m_flow|valAv.m_flow",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.367/1.367, allocations: 251.9 MB / 266.9 MB, free: 11 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.001031/0.001031, allocations: 181.7 kB / 326.5 MB, free: 2.238 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.469/1.469, allocations: 205.4 MB / 0.5775 GB, free: 20.31 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.0007818/0.0007818, allocations: 101.1 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004716/0.0004718, allocations: 6.531 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1981, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8078/1.006, allocations: 391.1 MB / 1.282 GB, free: 8.258 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/1.006, allocations: 100.7 kB / 1.282 GB, free: 8.203 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.146/2.152, allocations: 398.7 MB / 1.671 GB, free: 78.27 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.234e-06/2.152, allocations: 0 / 1.671 GB, free: 78.27 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.13e-05/2.152, allocations: 28 kB / 1.672 GB, free: 78.24 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002041/2.154, allocations: 1.172 MB / 1.673 GB, free: 77.02 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/2.155, allocations: 8.031 kB / 1.673 GB, free: 77.01 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/2.155, allocations: 103.1 kB / 1.673 GB, free: 76.91 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00094/2.156, allocations: 0.582 MB / 1.673 GB, free: 76.29 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/2.156, allocations: 44.94 kB / 1.673 GB, free: 76.25 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.847e-05/2.156, allocations: 60 kB / 1.673 GB, free: 76.19 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006161/2.156, allocations: 402.4 kB / 1.674 GB, free: 75.79 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/2.156, allocations: 3.938 kB / 1.674 GB, free: 75.79 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.747e-05/2.156, allocations: 20 kB / 1.674 GB, free: 75.77 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/2.156, allocations: 12 kB / 1.674 GB, free: 75.75 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004897/2.157, allocations: 287.8 kB / 1.674 GB, free: 75.47 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.002354/2.159, allocations: 1.85 MB / 1.676 GB, free: 73.47 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002912/2.16, allocations: 175.9 kB / 1.676 GB, free: 73.29 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002368/2.16, allocations: 340.4 kB / 1.676 GB, free: 72.88 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/2.16, allocations: 38.56 kB / 1.676 GB, free: 72.84 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 1.513e-06/2.16, allocations: 0 / 1.676 GB, free: 72.84 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.0006166/2.161, allocations: 308.7 kB / 1.677 GB, free: 72.53 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/2.161, allocations: 51.41 kB / 1.677 GB, free: 72.46 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005241/2.161, allocations: 0.5858 MB / 1.677 GB, free: 71.88 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/2.161, allocations: 37.7 kB / 1.677 GB, free: 71.83 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/2.161, allocations: 376.7 kB / 1.678 GB, free: 71.46 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/2.161, allocations: 59.11 kB / 1.678 GB, free: 71.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.479e-05/2.161, allocations: 4 kB / 1.678 GB, free: 71.39 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.392e-05/2.161, allocations: 378.8 kB / 1.678 GB, free: 71.02 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/2.162, allocations: 100.7 kB / 1.678 GB, free: 70.91 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/2.162, allocations: 217.5 kB / 1.678 GB, free: 70.66 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/2.162, allocations: 134.8 kB / 1.679 GB, free: 70.53 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/2.162, allocations: 0 / 1.679 GB, free: 70.53 MB / 0.8855 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006011/2.163, allocations: 394.5 kB / 1.679 GB, free: 70.14 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.195e-05/2.163, allocations: 271 kB / 1.679 GB, free: 69.85 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/2.163, allocations: 11.98 kB / 1.679 GB, free: 69.84 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/2.163, allocations: 0 / 1.679 GB, free: 69.84 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008431/2.164, allocations: 127.8 kB / 1.679 GB, free: 69.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008779/2.165, allocations: 2.371 MB / 1.682 GB, free: 67.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006301/2.165, allocations: 95.64 kB / 1.682 GB, free: 67.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.965e-05/2.165, allocations: 20 kB / 1.682 GB, free: 67.14 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/2.165, allocations: 6.656 kB / 1.682 GB, free: 67.13 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005165/2.166, allocations: 292.2 kB / 1.682 GB, free: 66.85 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-06/2.166, allocations: 0 / 1.682 GB, free: 66.85 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.527e-06/2.166, allocations: 0 / 1.682 GB, free: 66.85 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003918/2.166, allocations: 107.9 kB / 1.682 GB, free: 66.74 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/2.166, allocations: 0 / 1.682 GB, free: 66.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004839/2.167, allocations: 83.62 kB / 1.682 GB, free: 66.66 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/2.167, allocations: 19.98 kB / 1.682 GB, free: 66.64 MB / 0.8855 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.0002811/2.167, allocations: 266.8 kB / 1.683 GB, free: 66.37 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.468e-05/2.167, allocations: 67.16 kB / 1.683 GB, free: 66.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000578/2.168, allocations: 326.6 kB / 1.683 GB, free: 65.98 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/2.168, allocations: 4 kB / 1.683 GB, free: 65.97 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/2.168, allocations: 0 / 1.683 GB, free: 65.97 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/2.168, allocations: 0 / 1.683 GB, free: 65.97 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/2.169, allocations: 0.8955 MB / 1.684 GB, free: 65.01 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/2.169, allocations: 0 / 1.684 GB, free: 65.01 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002915/2.169, allocations: 79.81 kB / 1.684 GB, free: 64.93 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/2.169, allocations: 0 / 1.684 GB, free: 64.93 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/2.169, allocations: 11.98 kB / 1.684 GB, free: 64.92 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006398/2.17, allocations: 2.352 MB / 1.686 GB, free: 62.47 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/2.17, allocations: 3.953 kB / 1.686 GB, free: 62.47 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004485/2.17, allocations: 455.8 kB / 1.687 GB, free: 61.97 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/2.171, allocations: 172.1 kB / 1.687 GB, free: 61.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.598e-05/2.171, allocations: 11.94 kB / 1.687 GB, free: 61.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003835/2.171, allocations: 55.94 kB / 1.687 GB, free: 61.72 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/2.171, allocations: 11.98 kB / 1.687 GB, free: 61.71 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/2.171, allocations: 11.95 kB / 1.687 GB, free: 61.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004202/2.172, allocations: 463 kB / 1.687 GB, free: 61.25 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.11e-07/2.172, allocations: 3.938 kB / 1.687 GB, free: 61.25 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0009903/2.173, allocations: 395.3 kB / 1.688 GB, free: 60.86 MB / 0.8855 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.0007751/2.173, allocations: 472.5 kB / 1.688 GB, free: 60.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001167/2.175, allocations: 468.2 kB / 1.689 GB, free: 59.94 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/2.175, allocations: 0 / 1.689 GB, free: 59.94 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000312/2.175, allocations: 139.7 kB / 1.689 GB, free: 59.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/2.177, allocations: 373 kB / 1.689 GB, free: 59.44 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/2.178, allocations: 1.294 MB / 1.69 GB, free: 58.11 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/2.178, allocations: 0.9531 MB / 1.691 GB, free: 57.13 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004129/2.179, allocations: 117 kB / 1.691 GB, free: 57.02 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.842e-05/2.179, allocations: 43.44 kB / 1.691 GB, free: 56.97 MB / 0.8855 GB Notification: Performance of SimCode: time 3.21e-07/2.179, allocations: 4 kB / 1.691 GB, free: 56.97 MB / 0.8855 GB Notification: Performance of Templates: time 0.02327/2.202, allocations: 14.92 MB / 1.706 GB, free: 42.25 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches