Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valInd.m_flow|valIndDpFix.m_flow|valIndFromMflow.m_flow",fileNamePrefix="Buildings_9_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_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.4/2.4, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001341/0.001342, allocations: 183.3 kB / 498.1 MB, free: 5.738 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.665/1.665, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.001272/0.001272, allocations: 102.7 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004193/0.0004194, allocations: 10.28 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.384, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.228/1.612, allocations: 394.9 MB / 1.609 GB, free: 0.668 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/1.612, allocations: 96.33 kB / 1.609 GB, free: 0.6133 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.5556/2.168, allocations: 241.4 MB / 1.844 GB, free: 13.24 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.384e-06/2.168, allocations: 4 kB / 1.844 GB, free: 13.24 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001006/2.168, allocations: 20 kB / 1.844 GB, free: 13.22 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.003184/2.171, allocations: 1.095 MB / 1.845 GB, free: 12.07 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/2.171, allocations: 8.031 kB / 1.845 GB, free: 12.07 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003607/2.172, allocations: 82.97 kB / 1.846 GB, free: 11.98 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/2.173, allocations: 0.5267 MB / 1.846 GB, free: 11.42 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.11e-05/2.173, allocations: 37 kB / 1.846 GB, free: 11.38 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/2.173, allocations: 52 kB / 1.846 GB, free: 11.33 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/2.175, allocations: 0.6254 MB / 1.847 GB, free: 10.64 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/2.175, allocations: 4 kB / 1.847 GB, free: 10.64 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.388e-05/2.175, allocations: 20 kB / 1.847 GB, free: 10.62 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/2.175, allocations: 12 kB / 1.847 GB, free: 10.61 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/2.176, allocations: 0.5034 MB / 1.847 GB, free: 10.1 MB / 1.151 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.004414/2.18, allocations: 3.216 MB / 1.85 GB, free: 6.691 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007157/2.181, allocations: 344.5 kB / 1.851 GB, free: 6.344 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003966/2.182, allocations: 344.4 kB / 1.851 GB, free: 5.934 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/2.182, allocations: 42.55 kB / 1.851 GB, free: 5.883 MB / 1.151 GB Notification: Performance of pre-optimization done (n=38): time 4.108e-06/2.182, allocations: 0 / 1.851 GB, free: 5.883 MB / 1.151 GB Notification: Performance of matching and sorting (n=38): time 0.002379/2.184, allocations: 0.8316 MB / 1.852 GB, free: 5.023 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/2.184, allocations: 55.41 kB / 1.852 GB, free: 4.957 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008079/2.185, allocations: 0.5111 MB / 1.852 GB, free: 4.441 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.964e-05/2.185, allocations: 33.7 kB / 1.853 GB, free: 4.402 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003003/2.185, allocations: 332.4 kB / 1.853 GB, free: 4.07 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/2.185, allocations: 126.1 kB / 1.853 GB, free: 3.945 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/2.185, allocations: 16 kB / 1.853 GB, free: 3.93 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001984/2.186, allocations: 378.7 kB / 1.853 GB, free: 3.551 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005078/2.186, allocations: 213.2 kB / 1.854 GB, free: 3.344 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006585/2.187, allocations: 393 kB / 1.854 GB, free: 2.883 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005897/2.187, allocations: 256.7 kB / 1.854 GB, free: 2.629 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/2.187, allocations: 7.938 kB / 1.854 GB, free: 2.621 MB / 1.151 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001599/2.189, allocations: 0.7109 MB / 1.855 GB, free: 1.898 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008513/2.19, allocations: 1.756 MB / 1.857 GB, free: 8 kB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/2.19, allocations: 4 kB / 1.857 GB, free: 4 kB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007221/2.191, allocations: 144.7 kB / 1.857 GB, free: 15.86 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007326/2.191, allocations: 155.8 kB / 1.857 GB, free: 15.71 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007341/2.192, allocations: 0.6266 MB / 1.857 GB, free: 15.05 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008661/2.193, allocations: 111.3 kB / 1.858 GB, free: 14.95 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.307e-05/2.193, allocations: 39.91 kB / 1.858 GB, free: 14.91 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/2.193, allocations: 4 kB / 1.858 GB, free: 14.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001342/2.195, allocations: 0.6156 MB / 1.858 GB, free: 14.29 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/2.195, allocations: 16.02 kB / 1.858 GB, free: 14.27 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/2.195, allocations: 8 kB / 1.858 GB, free: 14.27 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006431/2.195, allocations: 163.7 kB / 1.858 GB, free: 14.11 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577e-05/2.195, allocations: 11.98 kB / 1.858 GB, free: 14.09 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007563/2.196, allocations: 95.47 kB / 1.858 GB, free: 14 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.338e-05/2.196, allocations: 31.98 kB / 1.859 GB, free: 13.97 MB / 1.167 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004736/2.197, allocations: 276.7 kB / 1.859 GB, free: 13.69 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/2.197, allocations: 67.16 kB / 1.859 GB, free: 13.62 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/2.198, allocations: 0.6588 MB / 1.859 GB, free: 12.95 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/2.198, allocations: 7.984 kB / 1.859 GB, free: 12.94 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/2.198, allocations: 0 / 1.859 GB, free: 12.94 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/2.198, allocations: 0 / 1.859 GB, free: 12.94 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00305/2.201, allocations: 1.39 MB / 1.861 GB, free: 11.48 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/2.202, allocations: 0 / 1.861 GB, free: 11.48 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000383/2.202, allocations: 87.88 kB / 1.861 GB, free: 11.39 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004274/2.202, allocations: 132.8 kB / 1.861 GB, free: 11.26 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.544e-05/2.202, allocations: 16 kB / 1.861 GB, free: 11.24 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007103/2.203, allocations: 0.6342 MB / 1.862 GB, free: 10.58 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/2.203, allocations: 0 / 1.862 GB, free: 10.58 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/2.205, allocations: 0.7526 MB / 1.862 GB, free: 9.785 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004138/2.205, allocations: 204.1 kB / 1.863 GB, free: 9.566 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/2.205, allocations: 4.047 kB / 1.863 GB, free: 9.562 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005763/2.206, allocations: 67.83 kB / 1.863 GB, free: 9.496 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/2.206, allocations: 43.8 kB / 1.863 GB, free: 9.453 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-05/2.206, allocations: 19.92 kB / 1.863 GB, free: 9.434 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005368/2.206, allocations: 399.1 kB / 1.863 GB, free: 9.047 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.21e-07/2.206, allocations: 0 / 1.863 GB, free: 9.047 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001667/2.208, allocations: 419.4 kB / 1.864 GB, free: 8.637 MB / 1.167 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 () * Number of clocked 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.00122/2.209, allocations: 416.7 kB / 1.864 GB, free: 8.234 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002328/2.212, allocations: 0.903 MB / 1.865 GB, free: 7.332 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/2.212, allocations: 0 / 1.865 GB, free: 7.332 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007398/2.212, allocations: 307.8 kB / 1.865 GB, free: 7.031 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/2.214, allocations: 255.3 kB / 1.865 GB, free: 6.785 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/2.216, allocations: 1.291 MB / 1.867 GB, free: 5.457 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006178/2.217, allocations: 0.9236 MB / 1.868 GB, free: 4.504 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007547/2.218, allocations: 144.9 kB / 1.868 GB, free: 4.359 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/2.218, allocations: 59.42 kB / 1.868 GB, free: 4.301 MB / 1.167 GB Notification: Performance of SimCode: time 1.462e-06/2.218, allocations: 0 / 1.868 GB, free: 4.301 MB / 1.167 GB Notification: Performance of Templates: time 0.6902/2.908, allocations: 12.89 MB / 1.88 GB, free: 364.4 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.csv","../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches