Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1342,variableFilter="time|combiTimeTable.y.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1342,variableFilter="time|combiTimeTable.y.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.415/1.415, allocations: 249.3 MB / 261.8 MB, free: 5.832 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.001133/0.001133, allocations: 190.5 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.568/1.568, 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.0009439/0.0009439, allocations: 89.3 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.007e-05/3.029e-05, allocations: 4 kB / 0.788 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1781, allocations: 106.3 MB / 0.8918 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5956/0.7737, allocations: 134.9 MB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.774, allocations: 89.02 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.01343/0.7875, allocations: 5.23 MB / 1.029 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.466e-06/0.7875, allocations: 3.984 kB / 1.029 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.593e-05/0.7875, allocations: 4 kB / 1.029 GB, free: 11.5 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005184/0.7881, allocations: 431.5 kB / 1.029 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.7881, allocations: 8.031 kB / 1.029 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.929e-05/0.7882, allocations: 15.81 kB / 1.029 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.7886, allocations: 253.5 kB / 1.029 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.7886, allocations: 4 kB / 1.029 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/0.7886, allocations: 11.69 kB / 1.029 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.7889, allocations: 123.9 kB / 1.03 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.7889, allocations: 0 / 1.03 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.7889, allocations: 3.312 kB / 1.03 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.7889, allocations: 4 kB / 1.03 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002941/0.7892, allocations: 185.5 kB / 1.03 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003046/0.7895, allocations: 255.4 kB / 1.03 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004308/0.79, allocations: 207.1 kB / 1.03 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.592e-05/0.7901, allocations: 57.84 kB / 1.03 GB, free: 9.992 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.7901, allocations: 3.984 kB / 1.03 GB, free: 9.988 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001999/0.7903, allocations: 123.4 kB / 1.03 GB, free: 9.879 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.7903, allocations: 336 / 1.03 GB, free: 9.879 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0003698/0.7907, allocations: 202.8 kB / 1.031 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.7908, allocations: 85.11 kB / 1.031 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.791, allocations: 235.6 kB / 1.031 GB, free: 9.41 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.791, allocations: 29.7 kB / 1.031 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.723e-05/0.7911, allocations: 112 kB / 1.031 GB, free: 9.285 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.781e-05/0.7912, allocations: 38.89 kB / 1.031 GB, free: 9.25 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-06/0.7912, allocations: 3.562 kB / 1.031 GB, free: 9.25 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.7913, allocations: 337.6 kB / 1.031 GB, free: 8.918 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.232e-05/0.7914, allocations: 52.17 kB / 1.031 GB, free: 8.887 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.7915, allocations: 88.05 kB / 1.032 GB, free: 8.812 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.607e-05/0.7916, allocations: 60.84 kB / 1.032 GB, free: 8.773 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7916, allocations: 0 / 1.032 GB, free: 8.773 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002955/0.7919, allocations: 211.8 kB / 1.032 GB, free: 8.602 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.792, allocations: 5.875 kB / 1.032 GB, free: 8.598 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.792, allocations: 4 kB / 1.032 GB, free: 8.594 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.792, allocations: 0 / 1.032 GB, free: 8.594 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.7921, allocations: 28.05 kB / 1.032 GB, free: 8.566 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.7921, allocations: 7.922 kB / 1.032 GB, free: 8.559 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.78e-05/0.7922, allocations: 11.94 kB / 1.032 GB, free: 8.551 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.7922, allocations: 4 kB / 1.032 GB, free: 8.547 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 8.296e-05/0.7923, allocations: 118.1 kB / 1.032 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.7924, allocations: 15.81 kB / 1.032 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004469/0.7928, allocations: 267.4 kB / 1.032 GB, free: 8.199 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.7928, allocations: 7.938 kB / 1.032 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.7928, allocations: 3.984 kB / 1.032 GB, free: 8.188 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.84e-06/0.7928, allocations: 3.984 kB / 1.032 GB, free: 8.184 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.7931, allocations: 280.2 kB / 1.033 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.7931, allocations: 0 / 1.033 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.7932, allocations: 30.98 kB / 1.033 GB, free: 7.867 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.7932, allocations: 4 kB / 1.033 GB, free: 7.863 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.7933, allocations: 7.297 kB / 1.033 GB, free: 7.859 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.7933, allocations: 4 kB / 1.033 GB, free: 7.855 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.7933, allocations: 0 / 1.033 GB, free: 7.855 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.7936, allocations: 270.2 kB / 1.033 GB, free: 7.621 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.788e-05/0.7937, allocations: 112 kB / 1.033 GB, free: 7.496 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.7938, allocations: 3.938 kB / 1.033 GB, free: 7.496 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.726e-05/0.7938, allocations: 11.3 kB / 1.033 GB, free: 7.488 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.7939, allocations: 15.67 kB / 1.033 GB, free: 7.477 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.7939, allocations: 11.94 kB / 1.033 GB, free: 7.465 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001614/0.7941, allocations: 182.2 kB / 1.033 GB, free: 7.32 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7941, allocations: 4 kB / 1.033 GB, free: 7.316 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002497/0.7943, allocations: 50.8 kB / 1.033 GB, free: 7.273 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009527/0.7953, allocations: 431.4 kB / 1.034 GB, free: 6.945 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002593/0.7956, allocations: 156.4 kB / 1.034 GB, free: 6.832 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7956, allocations: 0 / 1.034 GB, free: 6.832 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.7957, allocations: 86.61 kB / 1.034 GB, free: 6.77 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.796, allocations: 38.64 kB / 1.034 GB, free: 6.742 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004986/0.7965, allocations: 267.2 kB / 1.034 GB, free: 6.496 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.7968, allocations: 0.7322 MB / 1.035 GB, free: 5.742 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001215/0.7969, allocations: 53.52 kB / 1.035 GB, free: 5.688 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.266e-05/0.797, allocations: 31.3 kB / 1.035 GB, free: 5.66 MB / 0.6511 GB Notification: Performance of SimCode: time 3.11e-07/0.797, allocations: 0 / 1.035 GB, free: 5.66 MB / 0.6511 GB Notification: Performance of Templates: time 0.006082/0.8031, allocations: 3.027 MB / 1.038 GB, free: 2.66 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches