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.4/1.4, allocations: 249.3 MB / 261.8 MB, free: 5.957 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.001044/0.001044, allocations: 174.6 kB / 321.3 MB, free: 14.64 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.229/1.229, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.0007336/0.0007337, allocations: 92.64 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.699e-05/3.703e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2061, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.414/1.621, allocations: 423.2 MB / 1.305 GB, free: 316.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/1.621, allocations: 96.12 kB / 1.305 GB, free: 316 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.432/5.052, allocations: 1.069 GB / 2.374 GB, free: 106.3 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.674e-06/5.052, allocations: 0 / 2.374 GB, free: 106.3 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002117/5.053, allocations: 74 kB / 2.374 GB, free: 106.3 MB / 0.9011 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.004127/5.057, allocations: 2.296 MB / 2.376 GB, free: 105.4 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/5.057, allocations: 12.16 kB / 2.376 GB, free: 105.4 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004647/5.057, allocations: 263.7 kB / 2.376 GB, free: 105.3 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002904/5.06, allocations: 1.568 MB / 2.378 GB, free: 104.9 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.242e-05/5.06, allocations: 113.5 kB / 2.378 GB, free: 104.9 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001899/5.061, allocations: 145 kB / 2.378 GB, free: 104.9 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/5.062, allocations: 1.108 MB / 2.379 GB, free: 104.8 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/5.062, allocations: 0 / 2.379 GB, free: 104.8 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.363e-05/5.062, allocations: 51.95 kB / 2.379 GB, free: 104.8 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/5.062, allocations: 30.28 kB / 2.379 GB, free: 104.8 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/5.064, allocations: 0.9485 MB / 2.38 GB, free: 104.8 MB / 0.9011 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.008399/5.072, allocations: 6.335 MB / 2.387 GB, free: 102.2 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007104/5.073, allocations: 0.5563 MB / 2.387 GB, free: 102.1 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004377/5.073, allocations: 375.8 kB / 2.387 GB, free: 102.1 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003109/5.074, allocations: 0.5134 MB / 2.388 GB, free: 101.6 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/5.074, allocations: 42 kB / 2.388 GB, free: 101.5 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001921/5.076, allocations: 467.7 kB / 2.388 GB, free: 101.5 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=58): time 3.156e-06/5.076, allocations: 0 / 2.388 GB, free: 101.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=58): time 0.001122/5.077, allocations: 0.8169 MB / 2.389 GB, free: 101.3 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/5.077, allocations: 63.62 kB / 2.389 GB, free: 101.3 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/5.078, allocations: 1.575 MB / 2.391 GB, free: 101 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.463e-05/5.078, allocations: 50.08 kB / 2.391 GB, free: 101 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005299/5.079, allocations: 0.935 MB / 2.392 GB, free: 100.7 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000111/5.079, allocations: 205.9 kB / 2.392 GB, free: 100.6 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.804e-05/5.079, allocations: 21.53 kB / 2.392 GB, free: 100.6 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.81e-05/5.079, allocations: 351.2 kB / 2.392 GB, free: 100.3 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005405/5.08, allocations: 383.3 kB / 2.393 GB, free: 100.3 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000722/5.081, allocations: 0.722 MB / 2.393 GB, free: 99.94 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006815/5.081, allocations: 480.6 kB / 2.394 GB, free: 99.92 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/5.081, allocations: 0 / 2.394 GB, free: 99.92 MB / 0.9011 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001762/5.083, allocations: 1.292 MB / 2.395 GB, free: 99.75 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001454/5.083, allocations: 0.9291 MB / 2.396 GB, free: 98.76 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/5.083, allocations: 4.281 kB / 2.396 GB, free: 98.76 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/5.083, allocations: 10.92 kB / 2.396 GB, free: 98.76 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/5.084, allocations: 283.5 kB / 2.396 GB, free: 98.76 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/5.084, allocations: 10.62 kB / 2.396 GB, free: 98.76 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/5.086, allocations: 163.5 kB / 2.396 GB, free: 98.75 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/5.086, allocations: 60.84 kB / 2.397 GB, free: 98.75 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 7.544e-06/5.086, allocations: 3 kB / 2.397 GB, free: 98.75 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001454/5.088, allocations: 1.059 MB / 2.398 GB, free: 98.72 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/5.088, allocations: 3.781 kB / 2.398 GB, free: 98.72 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/5.088, allocations: 10.95 kB / 2.398 GB, free: 98.71 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/5.089, allocations: 274.9 kB / 2.398 GB, free: 98.71 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/5.089, allocations: 11.81 kB / 2.398 GB, free: 98.71 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/5.09, allocations: 166.8 kB / 2.398 GB, free: 98.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.475e-05/5.09, allocations: 59.41 kB / 2.398 GB, free: 98.7 MB / 0.9011 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.0002045/5.091, allocations: 161.4 kB / 2.398 GB, free: 98.6 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/5.091, allocations: 198.2 kB / 2.398 GB, free: 98.49 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/5.093, allocations: 1.026 MB / 2.399 GB, free: 98.39 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/5.093, allocations: 14.55 kB / 2.399 GB, free: 98.39 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/5.093, allocations: 0 / 2.399 GB, free: 98.39 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/5.093, allocations: 3.234 kB / 2.399 GB, free: 98.39 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002967/5.096, allocations: 2.326 MB / 2.402 GB, free: 97.98 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.341e-06/5.096, allocations: 3.812 kB / 2.402 GB, free: 97.98 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005317/5.096, allocations: 136.7 kB / 2.402 GB, free: 97.98 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/5.096, allocations: 7.281 kB / 2.402 GB, free: 97.98 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.815e-05/5.096, allocations: 17.94 kB / 2.402 GB, free: 97.98 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/5.096, allocations: 7.344 kB / 2.402 GB, free: 97.98 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/5.096, allocations: 6.359 kB / 2.402 GB, free: 97.98 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/5.097, allocations: 1.12 MB / 2.403 GB, free: 97.5 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005664/5.098, allocations: 366.9 kB / 2.403 GB, free: 97.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00019/5.098, allocations: 12.72 kB / 2.403 GB, free: 97.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009634/5.099, allocations: 114.3 kB / 2.403 GB, free: 97.29 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.621e-05/5.099, allocations: 52.2 kB / 2.403 GB, free: 97.29 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.402e-05/5.099, allocations: 27.89 kB / 2.403 GB, free: 97.29 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001286/5.101, allocations: 1.187 MB / 2.405 GB, free: 97.12 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.8e-07/5.101, allocations: 0 / 2.405 GB, free: 97.12 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002178/5.103, allocations: 0.9774 MB / 2.406 GB, free: 97.04 MB / 0.9011 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.001241/5.104, allocations: 0.968 MB / 2.407 GB, free: 96.78 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002101/5.106, allocations: 1.567 MB / 2.408 GB, free: 96.74 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/5.106, allocations: 6.594 kB / 2.408 GB, free: 96.74 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.000425/5.107, allocations: 372.5 kB / 2.408 GB, free: 96.74 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005163/5.112, allocations: 1.142 MB / 2.41 GB, free: 96.72 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/5.115, allocations: 2.195 MB / 2.412 GB, free: 96 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006702/5.116, allocations: 1.437 MB / 2.413 GB, free: 95.27 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002279/5.118, allocations: 0.5107 MB / 2.414 GB, free: 95.24 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003048/5.118, allocations: 130 kB / 2.414 GB, free: 95.23 MB / 0.9011 GB Notification: Performance of SimCode: time 7.21e-07/5.118, allocations: 0 / 2.414 GB, free: 95.23 MB / 0.9011 GB Notification: Performance of Templates: time 0.06352/5.182, allocations: 48.73 MB / 2.461 GB, free: 92.72 MB / 0.9011 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