Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flowOpPoi.m_flow|senM_flowKv.m_flow|senM_flowCv.m_flow|senM_flowAv.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flowOpPoi.m_flow|senM_flowKv.m_flow|senM_flowCv.m_flow|senM_flowAv.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.396/1.396, allocations: 249.5 MB / 257 MB, free: 6.973 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.0009644/0.0009644, allocations: 189.6 kB / 316.3 MB, free: 3.234 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.496/1.496, allocations: 205.3 MB / 0.5671 GB, free: 15.81 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.0009038/0.0009038, allocations: 99.77 kB / 0.6714 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.628e-05/1.632e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1691, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.377/1.546, allocations: 423.5 MB / 1.299 GB, free: 320.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/1.547, allocations: 99.12 kB / 1.299 GB, free: 320.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.408/4.955, allocations: 1.063 GB / 2.362 GB, free: 97.38 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.362e-06/4.955, allocations: 3.844 kB / 2.362 GB, free: 97.38 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002287/4.955, allocations: 69.53 kB / 2.362 GB, free: 97.38 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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.004608/4.96, allocations: 2.294 MB / 2.364 GB, free: 96.46 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/4.96, allocations: 13.09 kB / 2.364 GB, free: 96.46 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004822/4.961, allocations: 264.4 kB / 2.364 GB, free: 96.33 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002789/4.963, allocations: 1.57 MB / 2.366 GB, free: 95.91 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/4.963, allocations: 38.56 kB / 2.366 GB, free: 95.91 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/4.964, allocations: 89.66 kB / 2.366 GB, free: 95.91 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001337/4.965, allocations: 0.9271 MB / 2.367 GB, free: 95.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/4.966, allocations: 0.942 MB / 2.368 GB, free: 95.83 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/4.966, allocations: 1.312 kB / 2.368 GB, free: 95.83 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.273e-05/4.966, allocations: 0 / 2.368 GB, free: 95.83 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/4.966, allocations: 26.44 kB / 2.368 GB, free: 95.83 MB / 0.8855 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.007529/4.974, allocations: 6.054 MB / 2.374 GB, free: 93.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000661/4.975, allocations: 0.5748 MB / 2.374 GB, free: 93.27 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003885/4.975, allocations: 381.2 kB / 2.375 GB, free: 93.25 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003168/4.975, allocations: 0.5147 MB / 2.375 GB, free: 92.69 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/4.975, allocations: 37.09 kB / 2.375 GB, free: 92.65 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001711/4.977, allocations: 430.5 kB / 2.376 GB, free: 92.62 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=58): time 2.725e-06/4.977, allocations: 0 / 2.376 GB, free: 92.62 MB / 0.8855 GB Notification: Performance of matching and sorting (n=58): time 0.001249/4.978, allocations: 0.8076 MB / 2.377 GB, free: 92.48 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.106e-05/4.978, allocations: 58.97 kB / 2.377 GB, free: 92.41 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/4.98, allocations: 1.279 MB / 2.378 GB, free: 92.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.944e-05/4.98, allocations: 29.17 kB / 2.378 GB, free: 92.16 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005252/4.98, allocations: 0.9177 MB / 2.379 GB, free: 91.85 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/4.98, allocations: 194.2 kB / 2.379 GB, free: 91.73 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-05/4.981, allocations: 0 / 2.379 GB, free: 91.73 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.967e-05/4.981, allocations: 353.4 kB / 2.379 GB, free: 91.42 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004895/4.981, allocations: 382.6 kB / 2.38 GB, free: 91.41 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006342/4.982, allocations: 0.7053 MB / 2.38 GB, free: 91.07 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007528/4.983, allocations: 480.4 kB / 2.381 GB, free: 91.06 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/4.983, allocations: 0 / 2.381 GB, free: 91.06 MB / 0.8855 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001725/4.984, allocations: 1.232 MB / 2.382 GB, free: 90.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001691/4.984, allocations: 0.9251 MB / 2.383 GB, free: 89.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/4.984, allocations: 3.625 kB / 2.383 GB, free: 89.95 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/4.984, allocations: 6.844 kB / 2.383 GB, free: 89.95 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/4.986, allocations: 282.3 kB / 2.383 GB, free: 89.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/4.986, allocations: 8.344 kB / 2.383 GB, free: 89.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/4.987, allocations: 130 kB / 2.383 GB, free: 89.93 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/4.987, allocations: 64.73 kB / 2.383 GB, free: 89.93 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.445e-06/4.987, allocations: 5.094 kB / 2.383 GB, free: 89.93 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001346/4.989, allocations: 0.9586 MB / 2.384 GB, free: 89.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/4.989, allocations: 3.469 kB / 2.384 GB, free: 89.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/4.989, allocations: 7.812 kB / 2.384 GB, free: 89.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/4.99, allocations: 274.2 kB / 2.385 GB, free: 89.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/4.99, allocations: 11.86 kB / 2.385 GB, free: 89.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/4.991, allocations: 126.8 kB / 2.385 GB, free: 89.89 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.948e-05/4.991, allocations: 64.52 kB / 2.385 GB, free: 89.89 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 146 * 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.0001845/4.991, allocations: 126.5 kB / 2.385 GB, free: 89.78 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/4.992, allocations: 173.5 kB / 2.385 GB, free: 89.69 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/4.993, allocations: 0.9576 MB / 2.386 GB, free: 89.58 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/4.993, allocations: 10.44 kB / 2.386 GB, free: 89.58 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/4.993, allocations: 3.953 kB / 2.386 GB, free: 89.58 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/4.993, allocations: 7.172 kB / 2.386 GB, free: 89.58 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003328/4.997, allocations: 2.119 MB / 2.388 GB, free: 89.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/4.997, allocations: 6.5 kB / 2.388 GB, free: 89.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005744/4.997, allocations: 142.2 kB / 2.388 GB, free: 89.21 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.271e-05/4.997, allocations: 3.156 kB / 2.388 GB, free: 89.21 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.039e-05/4.998, allocations: 9.906 kB / 2.388 GB, free: 89.21 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-06/4.998, allocations: 3.625 kB / 2.388 GB, free: 89.21 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/4.998, allocations: 7.5 kB / 2.388 GB, free: 89.21 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/4.999, allocations: 1.053 MB / 2.389 GB, free: 88.76 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006416/5, allocations: 335.1 kB / 2.39 GB, free: 88.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/5, allocations: 0 / 2.39 GB, free: 88.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009351/5.001, allocations: 105.9 kB / 2.39 GB, free: 88.55 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/5.001, allocations: 54.83 kB / 2.39 GB, free: 88.55 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.15e-05/5.001, allocations: 23.25 kB / 2.39 GB, free: 88.55 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001236/5.002, allocations: 0.9332 MB / 2.391 GB, free: 88.41 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.91e-07/5.002, allocations: 0 / 2.391 GB, free: 88.41 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002794/5.005, allocations: 0.9615 MB / 2.392 GB, free: 88.29 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001417/5.006, allocations: 0.9998 MB / 2.393 GB, free: 88.02 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001974/5.008, allocations: 1.495 MB / 2.394 GB, free: 88 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/5.008, allocations: 3.469 kB / 2.394 GB, free: 88 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004161/5.009, allocations: 359 kB / 2.394 GB, free: 87.99 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004263/5.013, allocations: 0.9314 MB / 2.395 GB, free: 87.97 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003332/5.016, allocations: 2.121 MB / 2.397 GB, free: 87.25 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007261/5.017, allocations: 1.443 MB / 2.399 GB, free: 86.52 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001881/5.019, allocations: 473.3 kB / 2.399 GB, free: 86.48 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000271/5.019, allocations: 120.2 kB / 2.399 GB, free: 86.47 MB / 0.8855 GB Notification: Performance of SimCode: time 9.31e-07/5.019, allocations: 0 / 2.399 GB, free: 86.47 MB / 0.8855 GB Notification: Performance of Templates: time 0.04977/5.069, allocations: 37.26 MB / 2.436 GB, free: 84.44 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches