Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.413/1.413, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001153/0.001153, allocations: 182.1 kB / 326.5 MB, free: 2.254 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.852/1.852, allocations: 205.4 MB / 0.5775 GB, free: 20.55 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.001168/0.001168, allocations: 95.72 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003522, allocations: 8.688 kB / 0.7962 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2385, allocations: 106.3 MB / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.976/1.215, allocations: 395.7 MB / 1.286 GB, free: 4.379 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003612/1.215, allocations: 102.9 kB / 1.287 GB, free: 4.324 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 0.8106/2.026, allocations: 170.7 MB / 1.453 GB, free: 282.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.186e-06/2.026, allocations: 0 / 1.453 GB, free: 282.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.411e-05/2.026, allocations: 19.38 kB / 1.453 GB, free: 282.7 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001948/2.028, allocations: 0.87 MB / 1.454 GB, free: 282.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/2.028, allocations: 10.75 kB / 1.454 GB, free: 282.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002605/2.028, allocations: 62.33 kB / 1.454 GB, free: 282 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000994/2.029, allocations: 468.2 kB / 1.455 GB, free: 281.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/2.029, allocations: 22.12 kB / 1.455 GB, free: 281.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.364e-05/2.029, allocations: 29.06 kB / 1.455 GB, free: 281.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004639/2.03, allocations: 280.4 kB / 1.455 GB, free: 281.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/2.03, allocations: 0 / 1.455 GB, free: 281.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/2.03, allocations: 10.44 kB / 1.455 GB, free: 281.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/2.03, allocations: 7.312 kB / 1.455 GB, free: 281.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003892/2.03, allocations: 208.6 kB / 1.455 GB, free: 281.7 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.001954/2.032, allocations: 1.314 MB / 1.456 GB, free: 281 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/2.032, allocations: 197.2 kB / 1.457 GB, free: 281 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001407/2.034, allocations: 1.314 MB / 1.458 GB, free: 279.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/2.034, allocations: 37.03 kB / 1.458 GB, free: 279.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=18): time 2.284e-06/2.034, allocations: 0 / 1.458 GB, free: 279.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=18): time 0.0006611/2.035, allocations: 297.3 kB / 1.458 GB, free: 279.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/2.035, allocations: 54.78 kB / 1.458 GB, free: 279.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005725/2.035, allocations: 0.503 MB / 1.459 GB, free: 279.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/2.035, allocations: 32.92 kB / 1.459 GB, free: 279.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/2.035, allocations: 266 kB / 1.459 GB, free: 279.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.237e-05/2.035, allocations: 66.55 kB / 1.459 GB, free: 279.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/2.035, allocations: 6.594 kB / 1.459 GB, free: 279.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.236e-05/2.036, allocations: 362.8 kB / 1.46 GB, free: 279.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/2.036, allocations: 84.31 kB / 1.46 GB, free: 279.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/2.036, allocations: 232.7 kB / 1.46 GB, free: 279 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/2.036, allocations: 114.3 kB / 1.46 GB, free: 278.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/2.036, allocations: 0 / 1.46 GB, free: 278.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005745/2.037, allocations: 321.3 kB / 1.46 GB, free: 278.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001974/2.037, allocations: 0.7984 MB / 1.461 GB, free: 278.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/2.037, allocations: 0 / 1.461 GB, free: 278.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/2.037, allocations: 6.906 kB / 1.461 GB, free: 278.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/2.037, allocations: 67.02 kB / 1.461 GB, free: 278.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/2.037, allocations: 11.8 kB / 1.461 GB, free: 278 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003931/2.038, allocations: 49.14 kB / 1.461 GB, free: 278 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.076e-05/2.038, allocations: 22.48 kB / 1.461 GB, free: 278 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/2.038, allocations: 3.562 kB / 1.461 GB, free: 278 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004485/2.038, allocations: 251.5 kB / 1.461 GB, free: 278 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/2.038, allocations: 3.984 kB / 1.461 GB, free: 278 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.721e-06/2.038, allocations: 6.812 kB / 1.461 GB, free: 278 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/2.039, allocations: 69.23 kB / 1.461 GB, free: 278 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/2.039, allocations: 7.578 kB / 1.462 GB, free: 278 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003573/2.039, allocations: 47.53 kB / 1.462 GB, free: 278 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/2.039, allocations: 15.42 kB / 1.462 GB, free: 278 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (35): * Single equations (assignments): 35 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002094/2.039, allocations: 262.2 kB / 1.462 GB, free: 277.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.341e-05/2.039, allocations: 49.22 kB / 1.462 GB, free: 277.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005437/2.04, allocations: 294.3 kB / 1.462 GB, free: 277.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/2.04, allocations: 3.844 kB / 1.462 GB, free: 277.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/2.04, allocations: 7.297 kB / 1.462 GB, free: 277.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/2.04, allocations: 0 / 1.462 GB, free: 277.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/2.041, allocations: 0.7987 MB / 1.463 GB, free: 277.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/2.041, allocations: 0 / 1.463 GB, free: 277.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/2.041, allocations: 42.64 kB / 1.463 GB, free: 277.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/2.041, allocations: 3.969 kB / 1.463 GB, free: 277.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/2.041, allocations: 7.625 kB / 1.463 GB, free: 277.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/2.041, allocations: 0 / 1.463 GB, free: 277.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/2.041, allocations: 3.25 kB / 1.463 GB, free: 277.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006352/2.042, allocations: 0.5305 MB / 1.464 GB, free: 277.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/2.042, allocations: 164.8 kB / 1.464 GB, free: 277 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.426e-05/2.042, allocations: 7.312 kB / 1.464 GB, free: 277 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/2.042, allocations: 28.38 kB / 1.464 GB, free: 277 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/2.042, allocations: 10.62 kB / 1.464 GB, free: 277 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/2.042, allocations: 10.62 kB / 1.464 GB, free: 277 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003756/2.043, allocations: 409 kB / 1.464 GB, free: 276.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.7e-07/2.043, allocations: 0 / 1.464 GB, free: 276.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008833/2.044, allocations: 273.4 kB / 1.464 GB, free: 276.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (senVolFlo.d) * 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 (20): * Single equations (assignments): 18 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001296/2.045, allocations: 0.6141 MB / 1.465 GB, free: 276.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007001/2.046, allocations: 373.3 kB / 1.465 GB, free: 276.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/2.046, allocations: 0 / 1.465 GB, free: 276.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001835/2.046, allocations: 109.3 kB / 1.465 GB, free: 276.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/2.047, allocations: 252.4 kB / 1.466 GB, free: 276.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/2.048, allocations: 1.034 MB / 1.467 GB, free: 276.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/2.049, allocations: 0.8631 MB / 1.468 GB, free: 275.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003975/2.049, allocations: 108.2 kB / 1.468 GB, free: 275.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.451e-05/2.049, allocations: 44.22 kB / 1.468 GB, free: 275.4 MB / 0.8855 GB Notification: Performance of SimCode: time 5.01e-07/2.049, allocations: 4 kB / 1.468 GB, free: 275.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.017/2.066, allocations: 11.23 MB / 1.479 GB, free: 273.2 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches