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.00149/0.00149, allocations: 111.3 kB / 15.99 MB, free: 6.344 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.001465/0.001465, allocations: 194.6 kB / 16.91 MB, free: 6.184 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.349/1.349, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.611/2.611, allocations: 469.8 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002926/0.002926, allocations: 58.81 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3059, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.00317/0.3091, allocations: 1.701 MB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002027/0.3111, allocations: 1.46 MB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.67e-05/0.3112, allocations: 0 / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003698/0.3116, allocations: 47.83 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.3117, allocations: 47.83 kB / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.312, allocations: 95.7 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000203/0.3122, allocations: 159.7 kB / 1.068 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.3123, allocations: 12.22 kB / 1.068 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.998e-05/0.3124, allocations: 67.77 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.3125, allocations: 71.73 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.3126, allocations: 8 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.3127, allocations: 71.91 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.613e-05/0.3128, allocations: 39.91 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.567e-05/0.3129, allocations: 71.52 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.3131, allocations: 140 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3131, allocations: 0 / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3131, allocations: 4 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.3131, allocations: 4 kB / 1.068 GB, free: 11.08 MB / 0.8419 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.0006245/0.3137, allocations: 470.6 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.3138, allocations: 8.625 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.57e-05/0.3138, allocations: 16.75 kB / 1.069 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.3142, allocations: 255.9 kB / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.3142, allocations: 384 / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.3142, allocations: 8.125 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.3145, allocations: 127.2 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.3145, allocations: 0 / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.3145, allocations: 0 / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3145, allocations: 4 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002326/0.3147, allocations: 139.9 kB / 1.069 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002546/0.315, allocations: 237.4 kB / 1.069 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003631/0.3154, allocations: 170.5 kB / 1.069 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.3155, allocations: 64.77 kB / 1.069 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.3155, allocations: 4 kB / 1.069 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002465/0.3158, allocations: 112.7 kB / 1.07 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.3158, allocations: 0 / 1.07 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.00047/0.3163, allocations: 228.9 kB / 1.07 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.3163, allocations: 77.11 kB / 1.07 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.3165, allocations: 208.1 kB / 1.07 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.3166, allocations: 29.7 kB / 1.07 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.032e-05/0.3166, allocations: 112.1 kB / 1.07 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.711e-05/0.3167, allocations: 55.36 kB / 1.07 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.573e-05/0.3168, allocations: 29.72 kB / 1.07 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3169, allocations: 326.8 kB / 1.071 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.909e-05/0.317, allocations: 47.98 kB / 1.071 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.3172, allocations: 80.23 kB / 1.071 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.3174, allocations: 125.6 kB / 1.071 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3174, allocations: 0 / 1.071 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003222/0.3177, allocations: 189.5 kB / 1.071 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.3178, allocations: 11.94 kB / 1.071 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3178, allocations: 0 / 1.071 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.3178, allocations: 0 / 1.071 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.3179, allocations: 31.98 kB / 1.071 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.3179, allocations: 4 kB / 1.071 GB, free: 7.727 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.082e-05/0.318, allocations: 7.906 kB / 1.071 GB, free: 7.719 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.318, allocations: 8 kB / 1.071 GB, free: 7.711 MB / 0.8419 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.0001225/0.3181, allocations: 137.8 kB / 1.071 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.921e-05/0.3182, allocations: 19.75 kB / 1.071 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.313e-05/0.3182, allocations: 29.5 kB / 1.071 GB, free: 7.52 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3182, allocations: 4 kB / 1.071 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3182, allocations: 4 kB / 1.071 GB, free: 7.512 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3183, allocations: 0 / 1.071 GB, free: 7.512 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.3185, allocations: 237.4 kB / 1.071 GB, free: 7.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3185, allocations: 0 / 1.071 GB, free: 7.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.515e-05/0.3185, allocations: 27.92 kB / 1.072 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3186, allocations: 0 / 1.072 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.3186, allocations: 4 kB / 1.072 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3186, allocations: 0 / 1.072 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3186, allocations: 0 / 1.072 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003447/0.3189, allocations: 216.8 kB / 1.072 GB, free: 6.969 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.945e-05/0.319, allocations: 92.92 kB / 1.072 GB, free: 6.859 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.319, allocations: 0 / 1.072 GB, free: 6.859 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.552e-05/0.3191, allocations: 11.98 kB / 1.072 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.3191, allocations: 11.92 kB / 1.072 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.3192, allocations: 8 kB / 1.072 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001307/0.3193, allocations: 147 kB / 1.072 GB, free: 6.684 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3193, allocations: 4 kB / 1.072 GB, free: 6.68 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002408/0.3195, allocations: 35.98 kB / 1.072 GB, free: 6.645 MB / 0.8419 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.001533/0.3211, allocations: 461.9 kB / 1.072 GB, free: 6.363 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002974/0.3214, allocations: 139.9 kB / 1.073 GB, free: 6.227 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3214, allocations: 64 / 1.073 GB, free: 6.227 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.3215, allocations: 63.92 kB / 1.073 GB, free: 6.164 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.3218, allocations: 45.72 kB / 1.073 GB, free: 6.121 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005767/0.3224, allocations: 356.8 kB / 1.073 GB, free: 5.738 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.3228, allocations: 0.7202 MB / 1.074 GB, free: 4.992 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.234e-05/0.3228, allocations: 31.42 kB / 1.074 GB, free: 4.965 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3229, allocations: 0 / 1.074 GB, free: 4.965 MB / 0.8419 GB Notification: Performance of Templates: time 0.004873/0.3277, allocations: 2.806 MB / 1.077 GB, free: 2.191 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/jenkins1/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