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.402/1.402, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001099/0.001099, allocations: 178.4 kB / 326.5 MB, free: 2.246 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.68/1.68, allocations: 205.4 MB / 0.5775 GB, free: 20.49 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.0009391/0.0009391, allocations: 98.22 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.000338, allocations: 9.25 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2145, allocations: 106.3 MB / 0.9001 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1723/0.3869, allocations: 135 MB / 1.032 GB, free: 9.246 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.3872, allocations: 87.95 kB / 1.032 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0142/0.4014, allocations: 5.439 MB / 1.037 GB, free: 3.711 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.296e-06/0.4015, allocations: 0 / 1.037 GB, free: 3.711 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.212e-05/0.4015, allocations: 8 kB / 1.037 GB, free: 3.703 MB / 0.6823 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.0006671/0.4022, allocations: 458.5 kB / 1.038 GB, free: 3.207 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.4023, allocations: 8.031 kB / 1.038 GB, free: 3.199 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.826e-05/0.4023, allocations: 19.81 kB / 1.038 GB, free: 3.18 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003996/0.4027, allocations: 254.6 kB / 1.038 GB, free: 2.891 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.4028, allocations: 8 kB / 1.038 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.4028, allocations: 4 kB / 1.038 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/0.4031, allocations: 127.4 kB / 1.038 GB, free: 2.742 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.4031, allocations: 0 / 1.038 GB, free: 2.742 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.4032, allocations: 0 / 1.038 GB, free: 2.742 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.4032, allocations: 0 / 1.038 GB, free: 2.742 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003512/0.4035, allocations: 199.7 kB / 1.038 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.4039, allocations: 261.4 kB / 1.039 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004644/0.4044, allocations: 206.5 kB / 1.039 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.4044, allocations: 7.984 kB / 1.039 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.4046, allocations: 119.3 kB / 1.039 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 1.844e-06/0.4047, allocations: 4 kB / 1.039 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.000512/0.4052, allocations: 255.8 kB / 1.039 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/0.4052, allocations: 85.05 kB / 1.039 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.4055, allocations: 225.5 kB / 1.039 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.4055, allocations: 37.69 kB / 1.04 GB, free: 1.262 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/0.4056, allocations: 108.1 kB / 1.04 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.482e-05/0.4057, allocations: 39.45 kB / 1.04 GB, free: 1.113 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.916e-06/0.4057, allocations: 4 kB / 1.04 GB, free: 1.109 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4058, allocations: 338.8 kB / 1.04 GB, free: 0.7695 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.4059, allocations: 51.97 kB / 1.04 GB, free: 0.7188 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.4061, allocations: 86.53 kB / 1.04 GB, free: 0.625 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.4062, allocations: 71.91 kB / 1.04 GB, free: 0.5547 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4062, allocations: 0 / 1.04 GB, free: 0.5547 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003363/0.4065, allocations: 209.3 kB / 1.04 GB, free: 352 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.4066, allocations: 12.06 kB / 1.04 GB, free: 340 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.4066, allocations: 0 / 1.04 GB, free: 340 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.4066, allocations: 0 / 1.04 GB, free: 340 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.4067, allocations: 28.25 kB / 1.04 GB, free: 312 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.4068, allocations: 4 kB / 1.04 GB, free: 308 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.361e-05/0.4068, allocations: 11.94 kB / 1.04 GB, free: 296 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.4069, allocations: 7.938 kB / 1.04 GB, free: 288 kB / 0.6823 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 () * Number of clocked 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 0.0001251/0.407, allocations: 140 kB / 1.041 GB, free: 140 kB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/0.407, allocations: 15.81 kB / 1.041 GB, free: 124 kB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004949/0.4075, allocations: 286.6 kB / 1.041 GB, free: 15.83 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.4075, allocations: 4 kB / 1.041 GB, free: 15.82 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4076, allocations: 0 / 1.041 GB, free: 15.82 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.4076, allocations: 0 / 1.041 GB, free: 15.82 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/0.4078, allocations: 285.4 kB / 1.041 GB, free: 15.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.4079, allocations: 0 / 1.041 GB, free: 15.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.408, allocations: 35.98 kB / 1.041 GB, free: 15.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.408, allocations: 3.984 kB / 1.041 GB, free: 15.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.408, allocations: 15.94 kB / 1.041 GB, free: 15.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.408, allocations: 0 / 1.041 GB, free: 15.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.408, allocations: 0 / 1.041 GB, free: 15.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003838/0.4084, allocations: 261 kB / 1.041 GB, free: 15.17 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.821e-05/0.4085, allocations: 116.7 kB / 1.042 GB, free: 15.04 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.4086, allocations: 4 kB / 1.042 GB, free: 15.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.669e-05/0.4086, allocations: 8 kB / 1.042 GB, free: 15.03 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.4087, allocations: 19.97 kB / 1.042 GB, free: 15.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.4087, allocations: 12 kB / 1.042 GB, free: 15 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00017/0.4089, allocations: 180.5 kB / 1.042 GB, free: 14.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4089, allocations: 0 / 1.042 GB, free: 14.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002908/0.4092, allocations: 52 kB / 1.042 GB, free: 14.77 MB / 0.698 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) * Number of clocked states: 0 () * 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.00114/0.4103, allocations: 483 kB / 1.042 GB, free: 14.46 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003161/0.4107, allocations: 167.2 kB / 1.042 GB, free: 14.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4107, allocations: 0 / 1.042 GB, free: 14.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.4108, allocations: 91.89 kB / 1.043 GB, free: 14.21 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.4111, allocations: 33.88 kB / 1.043 GB, free: 14.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006411/0.4117, allocations: 390.1 kB / 1.043 GB, free: 13.77 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.4121, allocations: 0.7367 MB / 1.044 GB, free: 13 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001264/0.4122, allocations: 53.48 kB / 1.044 GB, free: 12.95 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.419e-05/0.4123, allocations: 31.42 kB / 1.044 GB, free: 12.92 MB / 0.698 GB Notification: Performance of SimCode: time 3.31e-07/0.4123, allocations: 0 / 1.044 GB, free: 12.92 MB / 0.698 GB Notification: Performance of Templates: time 0.005833/0.4181, allocations: 3.009 MB / 1.047 GB, free: 9.938 MB / 0.698 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