Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valInd.m_flow|valIndDpFix.m_flow|valIndFromMflow.m_flow",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.389/1.389, allocations: 249.3 MB / 261.8 MB, free: 5.812 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001009/0.00101, allocations: 188.3 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.0008294/0.0008295, allocations: 82.55 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.112e-05/3.115e-05, allocations: 7.984 kB / 0.788 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2028, allocations: 106.3 MB / 0.8918 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.313/1.516, allocations: 389.1 MB / 1.272 GB, free: 256.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/1.516, allocations: 97.05 kB / 1.272 GB, free: 256.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4171/1.934, allocations: 229.6 MB / 1.496 GB, free: 99.94 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.433e-06/1.934, allocations: 0 / 1.496 GB, free: 99.94 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.414e-05/1.934, allocations: 23.98 kB / 1.496 GB, free: 99.92 MB / 0.8698 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.001482/1.935, allocations: 0.9655 MB / 1.497 GB, free: 98.91 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/1.935, allocations: 15.97 kB / 1.497 GB, free: 98.89 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/1.935, allocations: 86.92 kB / 1.497 GB, free: 98.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007209/1.936, allocations: 0.5074 MB / 1.498 GB, free: 98.26 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/1.936, allocations: 37 kB / 1.498 GB, free: 98.22 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.626e-05/1.936, allocations: 52 kB / 1.498 GB, free: 98.17 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006717/1.937, allocations: 0.5691 MB / 1.498 GB, free: 97.54 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/1.937, allocations: 0 / 1.498 GB, free: 97.54 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.285e-05/1.937, allocations: 20 kB / 1.498 GB, free: 97.52 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/1.937, allocations: 12 kB / 1.498 GB, free: 97.51 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005444/1.937, allocations: 402.8 kB / 1.499 GB, free: 97.11 MB / 0.8698 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.002674/1.94, allocations: 3.204 MB / 1.502 GB, free: 93.71 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004018/1.941, allocations: 285 kB / 1.502 GB, free: 93.42 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/1.941, allocations: 192.8 kB / 1.502 GB, free: 93.23 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002626/1.941, allocations: 348.4 kB / 1.503 GB, free: 92.82 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/1.941, allocations: 30.56 kB / 1.503 GB, free: 92.78 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=38): time 1.813e-06/1.941, allocations: 0 / 1.503 GB, free: 92.78 MB / 0.8698 GB Notification: Performance of matching and sorting (n=38): time 0.0007189/1.942, allocations: 422 kB / 1.503 GB, free: 92.36 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/1.942, allocations: 59.16 kB / 1.503 GB, free: 92.29 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004688/1.942, allocations: 0.5033 MB / 1.504 GB, free: 91.78 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/1.942, allocations: 37.7 kB / 1.504 GB, free: 91.73 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/1.943, allocations: 332.4 kB / 1.504 GB, free: 91.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.042e-05/1.943, allocations: 134.1 kB / 1.504 GB, free: 91.27 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-05/1.943, allocations: 11.94 kB / 1.504 GB, free: 91.26 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.982e-05/1.943, allocations: 370.8 kB / 1.504 GB, free: 90.89 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/1.943, allocations: 161.5 kB / 1.505 GB, free: 90.73 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003032/1.943, allocations: 345.6 kB / 1.505 GB, free: 90.32 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/1.944, allocations: 205.5 kB / 1.505 GB, free: 90.12 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/1.944, allocations: 4 kB / 1.505 GB, free: 90.11 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008269/1.944, allocations: 0.6013 MB / 1.506 GB, free: 89.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003142/1.945, allocations: 1.756 MB / 1.507 GB, free: 87.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/1.945, allocations: 4 kB / 1.507 GB, free: 87.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005478/1.945, allocations: 136.7 kB / 1.508 GB, free: 87.46 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006436/1.946, allocations: 155.8 kB / 1.508 GB, free: 87.31 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004239/1.946, allocations: 0.6226 MB / 1.508 GB, free: 86.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006254/1.947, allocations: 111.4 kB / 1.508 GB, free: 86.55 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-05/1.947, allocations: 31.98 kB / 1.508 GB, free: 86.52 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.083e-06/1.947, allocations: 4 kB / 1.508 GB, free: 86.52 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007085/1.948, allocations: 0.5023 MB / 1.509 GB, free: 86.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/1.948, allocations: 16.08 kB / 1.509 GB, free: 86 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.225e-06/1.948, allocations: 11.94 kB / 1.509 GB, free: 85.99 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005561/1.948, allocations: 163.7 kB / 1.509 GB, free: 85.83 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/1.948, allocations: 8 kB / 1.509 GB, free: 85.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000534/1.949, allocations: 99.47 kB / 1.509 GB, free: 85.73 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.67e-05/1.949, allocations: 31.98 kB / 1.509 GB, free: 85.7 MB / 0.8698 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 (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.0001125/1.949, allocations: 140.8 kB / 1.509 GB, free: 85.55 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.273e-05/1.949, allocations: 63.16 kB / 1.509 GB, free: 85.49 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009291/1.95, allocations: 0.5615 MB / 1.51 GB, free: 84.91 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/1.95, allocations: 4 kB / 1.51 GB, free: 84.91 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/1.95, allocations: 0 / 1.51 GB, free: 84.91 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/1.95, allocations: 3.984 kB / 1.51 GB, free: 84.91 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/1.952, allocations: 1.266 MB / 1.511 GB, free: 83.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/1.952, allocations: 0 / 1.511 GB, free: 83.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003338/1.952, allocations: 95.91 kB / 1.511 GB, free: 83.48 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003388/1.953, allocations: 124.8 kB / 1.511 GB, free: 83.35 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/1.953, allocations: 12 kB / 1.511 GB, free: 83.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003996/1.953, allocations: 0.6148 MB / 1.512 GB, free: 82.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.953, allocations: 0 / 1.512 GB, free: 82.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007654/1.954, allocations: 0.6548 MB / 1.513 GB, free: 82 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002182/1.954, allocations: 196 kB / 1.513 GB, free: 81.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.044e-05/1.954, allocations: 16.06 kB / 1.513 GB, free: 81.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000446/1.955, allocations: 55.94 kB / 1.513 GB, free: 81.71 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.49e-05/1.955, allocations: 39.84 kB / 1.513 GB, free: 81.68 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/1.955, allocations: 19.98 kB / 1.513 GB, free: 81.66 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003467/1.955, allocations: 391.2 kB / 1.513 GB, free: 81.28 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.71e-07/1.955, allocations: 0 / 1.513 GB, free: 81.28 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001131/1.956, allocations: 415.4 kB / 1.514 GB, free: 80.87 MB / 0.8698 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.0007017/1.957, allocations: 412 kB / 1.514 GB, free: 80.46 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00123/1.958, allocations: 0.7752 MB / 1.515 GB, free: 79.69 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.958, allocations: 0 / 1.515 GB, free: 79.69 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004276/1.959, allocations: 245.1 kB / 1.515 GB, free: 79.45 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/1.96, allocations: 258.8 kB / 1.515 GB, free: 79.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/1.961, allocations: 0.7519 MB / 1.516 GB, free: 78.41 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/1.961, allocations: 0.9247 MB / 1.517 GB, free: 77.45 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006279/1.962, allocations: 180.9 kB / 1.517 GB, free: 77.27 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/1.962, allocations: 55.41 kB / 1.517 GB, free: 77.22 MB / 0.8698 GB Notification: Performance of SimCode: time 3.41e-07/1.962, allocations: 0 / 1.517 GB, free: 77.22 MB / 0.8698 GB Notification: Performance of Templates: time 0.01922/1.981, allocations: 14.23 MB / 1.531 GB, free: 63.1 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches