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.226/2.226, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001061/0.001061, allocations: 184.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 221.3 MB / 0.7915 GB, free: 5.359 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.0009027/0.0009027, allocations: 91.5 kB / 0.9317 GB, free: 5.676 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.93e-05/2.932e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2966, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.103/1.4, allocations: 397.6 MB / 1.607 GB, free: 4.57 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003266/1.401, allocations: 95.69 kB / 1.607 GB, free: 4.52 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 1.522/2.923, allocations: 417.6 MB / 2.015 GB, free: 121.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.224e-06/2.923, allocations: 3.938 kB / 2.015 GB, free: 121.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000181/2.923, allocations: 22.34 kB / 2.015 GB, free: 121.1 MB / 1.151 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.002848/2.926, allocations: 1.048 MB / 2.016 GB, free: 120 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/2.926, allocations: 8.031 kB / 2.016 GB, free: 120 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004155/2.926, allocations: 99.17 kB / 2.016 GB, free: 119.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/2.928, allocations: 0.5728 MB / 2.017 GB, free: 119.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.744e-05/2.928, allocations: 45 kB / 2.017 GB, free: 119.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/2.928, allocations: 56 kB / 2.017 GB, free: 119.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000725/2.929, allocations: 386.5 kB / 2.017 GB, free: 118.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/2.929, allocations: 3.938 kB / 2.017 GB, free: 118.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.585e-05/2.929, allocations: 16 kB / 2.017 GB, free: 118.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/2.929, allocations: 12 kB / 2.017 GB, free: 118.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004782/2.929, allocations: 259.9 kB / 2.017 GB, free: 118.5 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.003199/2.933, allocations: 1.853 MB / 2.019 GB, free: 116.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/2.933, allocations: 150.4 kB / 2.019 GB, free: 116.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/2.933, allocations: 72.84 kB / 2.019 GB, free: 116.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002791/2.933, allocations: 344.3 kB / 2.02 GB, free: 115.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/2.933, allocations: 30.56 kB / 2.02 GB, free: 115.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 3.036e-06/2.933, allocations: 0 / 2.02 GB, free: 115.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.0005215/2.934, allocations: 222.1 kB / 2.02 GB, free: 115.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/2.934, allocations: 55.34 kB / 2.02 GB, free: 115.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006966/2.935, allocations: 0.5899 MB / 2.021 GB, free: 115 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.986e-05/2.935, allocations: 37.7 kB / 2.021 GB, free: 114.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/2.935, allocations: 368.6 kB / 2.021 GB, free: 114.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.421e-05/2.935, allocations: 63.02 kB / 2.021 GB, free: 114.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.801e-05/2.935, allocations: 4 kB / 2.021 GB, free: 114.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.787e-05/2.935, allocations: 378.8 kB / 2.021 GB, free: 114.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/2.935, allocations: 88.73 kB / 2.021 GB, free: 114 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/2.935, allocations: 194.8 kB / 2.022 GB, free: 113.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/2.936, allocations: 105.5 kB / 2.022 GB, free: 113.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/2.936, allocations: 4 kB / 2.022 GB, free: 113.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005846/2.936, allocations: 350.5 kB / 2.022 GB, free: 113.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.67e-05/2.936, allocations: 283 kB / 2.022 GB, free: 113.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/2.936, allocations: 0 / 2.022 GB, free: 113.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/2.936, allocations: 4 kB / 2.022 GB, free: 113.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009301/2.937, allocations: 131.8 kB / 2.023 GB, free: 112.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009402/2.938, allocations: 2.375 MB / 2.025 GB, free: 110.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008219/2.939, allocations: 87.55 kB / 2.025 GB, free: 110.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.437e-05/2.939, allocations: 16 kB / 2.025 GB, free: 110.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/2.939, allocations: 4 kB / 2.025 GB, free: 110.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003976/2.94, allocations: 251.8 kB / 2.025 GB, free: 110.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/2.94, allocations: 0 / 2.025 GB, free: 110.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.742e-06/2.94, allocations: 192 / 2.025 GB, free: 110.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/2.94, allocations: 111.9 kB / 2.025 GB, free: 110 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/2.94, allocations: 3.938 kB / 2.025 GB, free: 110 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006746/2.941, allocations: 87.61 kB / 2.025 GB, free: 109.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.784e-05/2.941, allocations: 16 kB / 2.025 GB, free: 109.9 MB / 1.151 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 () * 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.0001116/2.941, allocations: 125.7 kB / 2.025 GB, free: 109.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/2.941, allocations: 75.05 kB / 2.026 GB, free: 109.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006067/2.942, allocations: 290.2 kB / 2.026 GB, free: 109.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/2.942, allocations: 4 kB / 2.026 GB, free: 109.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/2.942, allocations: 0 / 2.026 GB, free: 109.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/2.942, allocations: 3.984 kB / 2.026 GB, free: 109.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/2.943, allocations: 0.8574 MB / 2.027 GB, free: 108.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/2.943, allocations: 0 / 2.027 GB, free: 108.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003453/2.943, allocations: 83.81 kB / 2.027 GB, free: 108.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/2.943, allocations: 4 kB / 2.027 GB, free: 108.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/2.943, allocations: 3.984 kB / 2.027 GB, free: 108.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000754/2.944, allocations: 2.356 MB / 2.029 GB, free: 105.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/2.944, allocations: 7.984 kB / 2.029 GB, free: 105.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004301/2.945, allocations: 426 kB / 2.029 GB, free: 105.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003228/2.945, allocations: 172.1 kB / 2.03 GB, free: 105.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/2.945, allocations: 8 kB / 2.03 GB, free: 105.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000569/2.946, allocations: 51.88 kB / 2.03 GB, free: 105.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.74e-05/2.946, allocations: 27.91 kB / 2.03 GB, free: 105.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/2.946, allocations: 8 kB / 2.03 GB, free: 105.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005601/2.946, allocations: 471.1 kB / 2.03 GB, free: 104.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/2.946, allocations: 0 / 2.03 GB, free: 104.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001304/2.948, allocations: 387.3 kB / 2.031 GB, free: 104.3 MB / 1.151 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 () * 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.0009378/2.949, allocations: 465.2 kB / 2.031 GB, free: 103.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001291/2.95, allocations: 445.4 kB / 2.031 GB, free: 103.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/2.95, allocations: 0 / 2.031 GB, free: 103.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000321/2.95, allocations: 115.9 kB / 2.032 GB, free: 103.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002067/2.952, allocations: 370.2 kB / 2.032 GB, free: 103 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/2.954, allocations: 0.7506 MB / 2.033 GB, free: 102.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/2.954, allocations: 0.9505 MB / 2.034 GB, free: 101.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007226/2.955, allocations: 161 kB / 2.034 GB, free: 101.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.809e-05/2.955, allocations: 39.38 kB / 2.034 GB, free: 101.1 MB / 1.151 GB Notification: Performance of SimCode: time 8.71e-07/2.955, allocations: 0 / 2.034 GB, free: 101.1 MB / 1.151 GB Notification: Performance of Templates: time 0.02726/2.982, allocations: 16.6 MB / 2.05 GB, free: 84.66 MB / 1.151 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