Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_11_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_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 98.11 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008209/0.00821, allocations: 169.4 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.627/1.627, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.116/3.116, allocations: 470.6 MB / 0.7442 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000509/0.000509, allocations: 9.344 kB / 0.9123 GB, free: 34.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3866, allocations: 161.4 MB / 1.07 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002578/0.3892, allocations: 1.36 MB / 1.071 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002582/0.3918, allocations: 1.437 MB / 1.073 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.87e-05/0.392, allocations: 0 / 1.073 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005112/0.3925, allocations: 43.84 kB / 1.073 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.3927, allocations: 51.77 kB / 1.073 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003982/0.3931, allocations: 93.31 kB / 1.073 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.3934, allocations: 155.6 kB / 1.073 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.855e-05/0.3935, allocations: 12.22 kB / 1.073 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.3936, allocations: 55.73 kB / 1.073 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.3938, allocations: 63.78 kB / 1.073 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.3939, allocations: 4 kB / 1.073 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001953/0.3941, allocations: 55.98 kB / 1.073 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.42e-05/0.3942, allocations: 47.77 kB / 1.073 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.3943, allocations: 81.36 kB / 1.073 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003685/0.3947, allocations: 187.7 kB / 1.073 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.3947, allocations: 0 / 1.073 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.384e-06/0.3947, allocations: 0 / 1.073 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.3947, allocations: 0 / 1.073 GB, free: 7.664 MB / 0.8262 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.0008102/0.3955, allocations: 446.8 kB / 1.074 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.108e-05/0.3956, allocations: 8.031 kB / 1.074 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.212e-05/0.3957, allocations: 20.75 kB / 1.074 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004401/0.3961, allocations: 263.8 kB / 1.074 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.3962, allocations: 4.375 kB / 1.074 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.3962, allocations: 12.12 kB / 1.074 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.3965, allocations: 115.3 kB / 1.074 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.3965, allocations: 0 / 1.074 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.3965, allocations: 4 kB / 1.074 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.3965, allocations: 0 / 1.074 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002624/0.3968, allocations: 147.7 kB / 1.074 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.3972, allocations: 233.6 kB / 1.075 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003987/0.3976, allocations: 170.6 kB / 1.075 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.3977, allocations: 52.78 kB / 1.075 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.275e-05/0.3977, allocations: 7.984 kB / 1.075 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002932/0.398, allocations: 115.2 kB / 1.075 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 2.295e-06/0.398, allocations: 4 kB / 1.075 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0005931/0.3986, allocations: 227.2 kB / 1.075 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.149e-05/0.3987, allocations: 77.11 kB / 1.075 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.399, allocations: 208.1 kB / 1.075 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.3991, allocations: 25.7 kB / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.3992, allocations: 112.1 kB / 1.076 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.803e-05/0.3993, allocations: 47.39 kB / 1.076 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/0.3993, allocations: 21.7 kB / 1.076 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.3995, allocations: 330.8 kB / 1.076 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.3996, allocations: 43.98 kB / 1.076 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.3998, allocations: 74.55 kB / 1.076 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.4, allocations: 122.9 kB / 1.076 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.4, allocations: 112 / 1.076 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003811/0.4004, allocations: 205.3 kB / 1.076 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.4005, allocations: 8 kB / 1.076 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.4005, allocations: 0 / 1.076 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.4005, allocations: 0 / 1.076 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.4006, allocations: 23.98 kB / 1.076 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.4007, allocations: 4 kB / 1.076 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.509e-05/0.4008, allocations: 11.98 kB / 1.076 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.4008, allocations: 4 kB / 1.076 GB, free: 4.328 MB / 0.8262 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 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002068/0.401, allocations: 139.4 kB / 1.077 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/0.401, allocations: 23.72 kB / 1.077 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.936e-05/0.4011, allocations: 25.52 kB / 1.077 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4011, allocations: 4 kB / 1.077 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.4012, allocations: 3.938 kB / 1.077 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.4012, allocations: 0 / 1.077 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.4015, allocations: 241.4 kB / 1.077 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4015, allocations: 0 / 1.077 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.152e-05/0.4016, allocations: 19.98 kB / 1.077 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.4016, allocations: 4 kB / 1.077 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.4016, allocations: 0 / 1.077 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.4016, allocations: 0 / 1.077 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.4016, allocations: 15.98 kB / 1.077 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003744/0.402, allocations: 210.3 kB / 1.077 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.173e-05/0.4021, allocations: 92.91 kB / 1.077 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/0.4021, allocations: 8 kB / 1.077 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.681e-05/0.4022, allocations: 0 / 1.077 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.4022, allocations: 15.98 kB / 1.077 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/0.4023, allocations: 7.984 kB / 1.077 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001675/0.4024, allocations: 155 kB / 1.077 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.51e-07/0.4024, allocations: 0 / 1.077 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002819/0.4027, allocations: 35.98 kB / 1.077 GB, free: 3.254 MB / 0.8262 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.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001814/0.4046, allocations: 460.7 kB / 1.078 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000341/0.4049, allocations: 123.9 kB / 1.078 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.4049, allocations: 0 / 1.078 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.4051, allocations: 63.91 kB / 1.078 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.4054, allocations: 31.92 kB / 1.078 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006733/0.4061, allocations: 332.7 kB / 1.078 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.4065, allocations: 0.7282 MB / 1.079 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001363/0.4066, allocations: 57.42 kB / 1.079 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.065e-05/0.4067, allocations: 35.42 kB / 1.079 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of SimCode: time 8.11e-07/0.4067, allocations: 0 / 1.079 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of Templates: time 0.006711/0.4134, allocations: 2.364 MB / 1.081 GB, free: 15.24 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches