Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valInd.m_flow|valIndDpFix.m_flow|valIndFromMflow.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valInd.m_flow|valIndDpFix.m_flow|valIndFromMflow.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.276/2.276, allocations: 390.5 MB / 398 MB, free: 10.98 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.001183/0.001183, allocations: 179.5 kB / 491.2 MB, free: 1.641 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.726/1.726, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.0009785/0.0009787, allocations: 87.59 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.951e-05/1.952e-05, allocations: 8 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3002, allocations: 143 MB / 1.212 GB, free: 39.56 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.265/1.566, allocations: 395 MB / 1.598 GB, free: 3.414 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003896/1.566, allocations: 93.75 kB / 1.598 GB, free: 3.363 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.305/2.871, allocations: 238.9 MB / 1.831 GB, free: 364.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.723e-06/2.872, allocations: 0 / 1.831 GB, free: 364.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.94e-05/2.872, allocations: 21.5 kB / 1.831 GB, free: 364.7 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002406/2.874, allocations: 0.9764 MB / 1.832 GB, free: 364 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/2.874, allocations: 7.625 kB / 1.832 GB, free: 364 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004119/2.875, allocations: 82.28 kB / 1.833 GB, free: 363.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/2.876, allocations: 0.5153 MB / 1.833 GB, free: 363.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.261e-05/2.876, allocations: 13.44 kB / 1.833 GB, free: 363.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/2.876, allocations: 35.16 kB / 1.833 GB, free: 363.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000799/2.877, allocations: 347.2 kB / 1.833 GB, free: 363.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008591/2.878, allocations: 0.5157 MB / 1.834 GB, free: 363 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/2.878, allocations: 3.938 kB / 1.834 GB, free: 363 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.736e-05/2.878, allocations: 11 kB / 1.834 GB, free: 363 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/2.878, allocations: 10.84 kB / 1.834 GB, free: 363 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.003926/2.882, allocations: 3.123 MB / 1.837 GB, free: 360.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004739/2.882, allocations: 280.8 kB / 1.837 GB, free: 360 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/2.883, allocations: 179.9 kB / 1.837 GB, free: 359.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003518/2.883, allocations: 343.5 kB / 1.838 GB, free: 359.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/2.883, allocations: 41.78 kB / 1.838 GB, free: 359.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=38): time 2.545e-06/2.883, allocations: 0 / 1.838 GB, free: 359.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=38): time 0.002338/2.886, allocations: 0.6721 MB / 1.838 GB, free: 359.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/2.886, allocations: 55.25 kB / 1.838 GB, free: 359.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005831/2.886, allocations: 453 kB / 1.839 GB, free: 358.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.152e-05/2.886, allocations: 25.7 kB / 1.839 GB, free: 358.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/2.886, allocations: 328.4 kB / 1.839 GB, free: 358.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/2.887, allocations: 131.8 kB / 1.839 GB, free: 358.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/2.887, allocations: 0 / 1.839 GB, free: 358.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001224/2.887, allocations: 362.2 kB / 1.84 GB, free: 358 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/2.887, allocations: 155.3 kB / 1.84 GB, free: 357.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003318/2.887, allocations: 325.4 kB / 1.84 GB, free: 357.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/2.889, allocations: 434.2 kB / 1.841 GB, free: 357.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/2.889, allocations: 2.906 kB / 1.841 GB, free: 357.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002091/2.891, allocations: 0.79 MB / 1.841 GB, free: 357 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004361/2.891, allocations: 1.755 MB / 1.843 GB, free: 355.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/2.891, allocations: 6.219 kB / 1.843 GB, free: 355.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004115/2.892, allocations: 102.4 kB / 1.843 GB, free: 355.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005187/2.892, allocations: 140.5 kB / 1.843 GB, free: 355.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008633/2.893, allocations: 0.7 MB / 1.844 GB, free: 354.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007333/2.894, allocations: 89.8 kB / 1.844 GB, free: 354.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.906e-05/2.894, allocations: 36.55 kB / 1.844 GB, free: 354.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/2.894, allocations: 3.875 kB / 1.844 GB, free: 354.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001745/2.896, allocations: 0.6676 MB / 1.845 GB, free: 354.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/2.896, allocations: 5.375 kB / 1.845 GB, free: 354.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/2.896, allocations: 7.594 kB / 1.845 GB, free: 354.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005503/2.896, allocations: 154.2 kB / 1.845 GB, free: 354.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/2.896, allocations: 14.23 kB / 1.845 GB, free: 354.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006314/2.897, allocations: 79.5 kB / 1.845 GB, free: 354 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.758e-05/2.897, allocations: 30.64 kB / 1.845 GB, free: 354 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001624/2.897, allocations: 121.3 kB / 1.845 GB, free: 353.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/2.897, allocations: 64.3 kB / 1.845 GB, free: 353.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002057/2.9, allocations: 0.7645 MB / 1.846 GB, free: 353.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/2.9, allocations: 3.938 kB / 1.846 GB, free: 353.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/2.9, allocations: 3.75 kB / 1.846 GB, free: 353.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/2.9, allocations: 0 / 1.846 GB, free: 353.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003081/2.903, allocations: 1.434 MB / 1.847 GB, free: 352.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/2.903, allocations: 0 / 1.847 GB, free: 352.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003392/2.903, allocations: 91 kB / 1.847 GB, free: 352.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003291/2.903, allocations: 115 kB / 1.848 GB, free: 352.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.682e-05/2.903, allocations: 11.92 kB / 1.848 GB, free: 352.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007653/2.904, allocations: 0.6884 MB / 1.848 GB, free: 351.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/2.904, allocations: 2.938 kB / 1.848 GB, free: 351.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001854/2.906, allocations: 0.8685 MB / 1.849 GB, free: 351.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003231/2.906, allocations: 196.5 kB / 1.849 GB, free: 351 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/2.907, allocations: 3.875 kB / 1.849 GB, free: 351 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004901/2.907, allocations: 54.89 kB / 1.849 GB, free: 351 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.441e-05/2.907, allocations: 30.17 kB / 1.849 GB, free: 351 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.442e-05/2.907, allocations: 15.16 kB / 1.849 GB, free: 351 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000358/2.907, allocations: 336.3 kB / 1.85 GB, free: 350.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/2.907, allocations: 0 / 1.85 GB, free: 350.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001389/2.909, allocations: 399.4 kB / 1.85 GB, free: 350.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009129/2.91, allocations: 417.8 kB / 1.851 GB, free: 350.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001419/2.911, allocations: 0.72 MB / 1.851 GB, free: 350.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/2.911, allocations: 0 / 1.851 GB, free: 350.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004157/2.912, allocations: 237.2 kB / 1.851 GB, free: 350.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/2.913, allocations: 225.5 kB / 1.852 GB, free: 350 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/2.914, allocations: 0.7205 MB / 1.852 GB, free: 349.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/2.915, allocations: 0.9327 MB / 1.853 GB, free: 348.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007584/2.915, allocations: 172.9 kB / 1.853 GB, free: 348.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/2.916, allocations: 50.95 kB / 1.853 GB, free: 348.6 MB / 1.151 GB Notification: Performance of SimCode: time 3.91e-07/2.916, allocations: 0 / 1.853 GB, free: 348.6 MB / 1.151 GB Notification: Performance of Templates: time 0.02064/2.936, allocations: 12.13 MB / 1.865 GB, free: 341.4 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.csv","../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches