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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00169/0.00169, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002736/0.002736, allocations: 197.4 kB / 16.26 MB, free: 6.629 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.496/1.496, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.522/2.522, allocations: 390.2 MB / 0.6643 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002326/0.002326, allocations: 59.91 kB / 0.812 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7807/0.7831, allocations: 140.4 MB / 0.9491 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.00262/0.7857, allocations: 1.698 MB / 0.9508 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.7873, allocations: 1.449 MB / 0.9522 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.7874, allocations: 5.469 kB / 0.9522 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003915/0.7878, allocations: 51.05 kB / 0.9522 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.788, allocations: 44.08 kB / 0.9523 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.7882, allocations: 91.58 kB / 0.9524 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.7884, allocations: 167.4 kB / 0.9525 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.53e-05/0.7885, allocations: 20.47 kB / 0.9525 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.657e-05/0.7886, allocations: 63.22 kB / 0.9526 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.7887, allocations: 74.03 kB / 0.9527 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.7887, allocations: 10.16 kB / 0.9527 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.7889, allocations: 65.7 kB / 0.9527 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.251e-05/0.7889, allocations: 42.27 kB / 0.9528 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.908e-05/0.789, allocations: 61.66 kB / 0.9528 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.7892, allocations: 193.5 kB / 0.953 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.7892, allocations: 4.938 kB / 0.953 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7892, allocations: 0 / 0.953 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.7893, allocations: 0 / 0.953 GB, free: 6.172 MB / 0.7169 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.0004943/0.7898, allocations: 483.2 kB / 0.9535 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.7898, allocations: 9.969 kB / 0.9535 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.121e-05/0.7899, allocations: 15.94 kB / 0.9535 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.7901, allocations: 258.9 kB / 0.9538 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.7901, allocations: 3.375 kB / 0.9538 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.7902, allocations: 6.781 kB / 0.9538 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.7904, allocations: 119 kB / 0.9539 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.7904, allocations: 0 / 0.9539 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.7904, allocations: 5.281 kB / 0.9539 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.7904, allocations: 1.625 kB / 0.9539 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002113/0.7906, allocations: 140.2 kB / 0.954 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.7908, allocations: 231.4 kB / 0.9543 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.7911, allocations: 174.3 kB / 0.9544 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.254e-05/0.7912, allocations: 62.89 kB / 0.9545 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.7913, allocations: 4 kB / 0.9545 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002179/0.7915, allocations: 112.1 kB / 0.9546 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.7915, allocations: 1.5 kB / 0.9546 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004388/0.792, allocations: 227.8 kB / 0.9548 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.792, allocations: 78.61 kB / 0.9549 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.7922, allocations: 200.4 kB / 0.9551 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.7922, allocations: 36.69 kB / 0.9551 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.7922, allocations: 106.6 kB / 0.9552 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.319e-05/0.7923, allocations: 46.78 kB / 0.9553 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.674e-05/0.7923, allocations: 29.62 kB / 0.9553 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.907e-05/0.7924, allocations: 328.2 kB / 0.9556 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.646e-05/0.7925, allocations: 59.11 kB / 0.9557 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.822e-05/0.7926, allocations: 71.17 kB / 0.9557 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.7928, allocations: 117.4 kB / 0.9558 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.7928, allocations: 0 / 0.9558 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002853/0.7931, allocations: 201.8 kB / 0.956 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.7931, allocations: 4.719 kB / 0.956 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.7931, allocations: 5.312 kB / 0.956 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.7931, allocations: 1.375 kB / 0.956 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.7933, allocations: 24.58 kB / 0.9561 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.7933, allocations: 1.156 kB / 0.9561 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.148e-05/0.7933, allocations: 11.03 kB / 0.9561 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.7933, allocations: 8.438 kB / 0.9561 GB, free: 3.637 MB / 0.7169 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 9.639e-05/0.7934, allocations: 144.2 kB / 0.9562 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.395e-05/0.7935, allocations: 23.64 kB / 0.9562 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.73e-05/0.7936, allocations: 30.92 kB / 0.9563 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.7936, allocations: 1.375 kB / 0.9563 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.7936, allocations: 5.344 kB / 0.9563 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.7936, allocations: 0 / 0.9563 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.7938, allocations: 234.6 kB / 0.9565 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.7938, allocations: 0 / 0.9565 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.876e-05/0.7939, allocations: 24.08 kB / 0.9565 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.7939, allocations: 1.188 kB / 0.9565 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.7939, allocations: 6.344 kB / 0.9565 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.7939, allocations: 1.219 kB / 0.9565 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.7939, allocations: 3.938 kB / 0.9565 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.7942, allocations: 219 kB / 0.9567 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.7943, allocations: 91.92 kB / 0.9568 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.417e-05/0.7943, allocations: 7.062 kB / 0.9568 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.738e-05/0.7944, allocations: 9.578 kB / 0.9568 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.7944, allocations: 9.828 kB / 0.9569 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.7945, allocations: 5.531 kB / 0.9569 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001359/0.7946, allocations: 159.2 kB / 0.957 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7946, allocations: 4 kB / 0.957 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002805/0.7949, allocations: 30.75 kB / 0.957 GB, free: 2.816 MB / 0.7169 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.001247/0.7962, allocations: 467.2 kB / 0.9575 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003329/0.7965, allocations: 139.6 kB / 0.9576 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.7965, allocations: 1.375 kB / 0.9576 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.7966, allocations: 60.86 kB / 0.9577 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.7969, allocations: 42.75 kB / 0.9577 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006/0.7976, allocations: 324.9 kB / 0.958 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.7978, allocations: 0.7256 MB / 0.9587 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001288/0.7979, allocations: 50.09 kB / 0.9588 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.005e-05/0.798, allocations: 30.08 kB / 0.9588 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.798, allocations: 0 / 0.9588 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of Templates: time 0.00602/0.804, allocations: 2.489 MB / 0.9613 GB, free: 264 kB / 0.7169 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 -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/jenkins/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