Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.00127/0.00127, allocations: 116.8 kB / 16.37 MB, free: 6 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.001904/0.001905, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.421/1.421, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.227/2.227, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 68.62 kB / 0.814 GB, free: 32.58 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2958, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003045/0.2988, allocations: 1.645 MB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001954/0.3008, allocations: 1.487 MB / 0.9542 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.443e-05/0.3009, allocations: 4 kB / 0.9542 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003834/0.3013, allocations: 55.7 kB / 0.9543 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.3015, allocations: 55.73 kB / 0.9543 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.3017, allocations: 111.5 kB / 0.9544 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.3019, allocations: 163.6 kB / 0.9546 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.608e-05/0.302, allocations: 12.22 kB / 0.9546 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.112e-05/0.3021, allocations: 63.77 kB / 0.9546 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.3022, allocations: 63.8 kB / 0.9547 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.3023, allocations: 8 kB / 0.9547 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.3024, allocations: 63.98 kB / 0.9548 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.765e-05/0.3025, allocations: 51.77 kB / 0.9548 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.742e-05/0.3026, allocations: 63.66 kB / 0.9549 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.3028, allocations: 191.4 kB / 0.9551 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3028, allocations: 3.938 kB / 0.9551 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3028, allocations: 0 / 0.9551 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.3028, allocations: 4 kB / 0.9551 GB, free: 4 MB / 0.7325 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.000587/0.3034, allocations: 466.6 kB / 0.9555 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3035, allocations: 8.031 kB / 0.9555 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.11e-05/0.3035, allocations: 20.73 kB / 0.9555 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.3039, allocations: 271.6 kB / 0.9558 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.3039, allocations: 384 / 0.9558 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.3039, allocations: 12.12 kB / 0.9558 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.3042, allocations: 115.3 kB / 0.9559 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.3042, allocations: 0 / 0.9559 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.3042, allocations: 0 / 0.9559 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.3042, allocations: 4 kB / 0.9559 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00022/0.3044, allocations: 143.8 kB / 0.9561 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002426/0.3047, allocations: 233.5 kB / 0.9563 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003507/0.305, allocations: 174.4 kB / 0.9565 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.65e-05/0.3052, allocations: 56.78 kB / 0.9565 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.3052, allocations: 7.984 kB / 0.9565 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/0.3054, allocations: 111.3 kB / 0.9566 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.532e-06/0.3054, allocations: 0 / 0.9566 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0004615/0.3059, allocations: 221.4 kB / 0.9568 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.3059, allocations: 81.11 kB / 0.9569 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.3061, allocations: 198.8 kB / 0.9571 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.3061, allocations: 29.7 kB / 0.9571 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.011e-05/0.3062, allocations: 112.2 kB / 0.9572 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.148e-05/0.3063, allocations: 55.31 kB / 0.9573 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/0.3063, allocations: 37.7 kB / 0.9573 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.3064, allocations: 326.8 kB / 0.9576 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.539e-05/0.3065, allocations: 47.97 kB / 0.9577 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.3067, allocations: 82.48 kB / 0.9578 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.3069, allocations: 117.7 kB / 0.9579 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3069, allocations: 4.031 kB / 0.9579 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002977/0.3072, allocations: 197.2 kB / 0.9581 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3072, allocations: 8 kB / 0.9581 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.3072, allocations: 0 / 0.9581 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.3072, allocations: 0 / 0.9581 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.3073, allocations: 23.98 kB / 0.9581 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.3074, allocations: 4 kB / 0.9581 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.302e-05/0.3074, allocations: 11.91 kB / 0.9581 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.3074, allocations: 4 kB / 0.9581 GB, free: 0.625 MB / 0.7325 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.0001122/0.3075, allocations: 143.6 kB / 0.9583 GB, free: 488 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.3076, allocations: 19.8 kB / 0.9583 GB, free: 468 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.829e-05/0.3077, allocations: 21.53 kB / 0.9583 GB, free: 448 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.3077, allocations: 4 kB / 0.9583 GB, free: 444 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3077, allocations: 0 / 0.9583 GB, free: 444 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3077, allocations: 7.969 kB / 0.9583 GB, free: 436 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.3079, allocations: 237.5 kB / 0.9585 GB, free: 148 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3079, allocations: 4 kB / 0.9585 GB, free: 144 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.948e-05/0.3079, allocations: 16 kB / 0.9586 GB, free: 128 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.308, allocations: 7.984 kB / 0.9586 GB, free: 120 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.308, allocations: 4 kB / 0.9586 GB, free: 116 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.308, allocations: 0 / 0.9586 GB, free: 116 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.308, allocations: 0 / 0.9586 GB, free: 116 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.3083, allocations: 220.8 kB / 0.9588 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.243e-05/0.3084, allocations: 92.86 kB / 0.9589 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.3084, allocations: 0 / 0.9589 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.626e-05/0.3085, allocations: 8 kB / 0.9589 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.3085, allocations: 15.92 kB / 0.9589 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.3086, allocations: 11.98 kB / 0.9589 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001238/0.3087, allocations: 152 kB / 0.959 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3087, allocations: 4 kB / 0.959 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002464/0.3089, allocations: 39.98 kB / 0.9591 GB, free: 15.54 MB / 0.7481 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.001018/0.31, allocations: 455.7 kB / 0.9595 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002615/0.3102, allocations: 119 kB / 0.9596 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3103, allocations: 0 / 0.9596 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.3104, allocations: 67.91 kB / 0.9597 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.3106, allocations: 27.92 kB / 0.9597 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005038/0.3111, allocations: 303 kB / 0.96 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.3114, allocations: 0.7239 MB / 0.9607 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001007/0.3115, allocations: 49.48 kB / 0.9608 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.421e-05/0.3116, allocations: 31.42 kB / 0.9608 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of SimCode: time 2.8e-07/0.3116, allocations: 0 / 0.9608 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of Templates: time 0.005544/0.3171, allocations: 2.5 MB / 0.9632 GB, free: 11.45 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches