Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001382/0.001382, allocations: 112.6 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.001385/0.001385, allocations: 196 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.406/1.406, 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 10.1.0-maint.10.0.x/package.mo): time 2.495/2.495, allocations: 437.1 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 64.58 kB / 0.8707 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3354, allocations: 151.6 MB / 1.019 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003423/0.3389, allocations: 1.632 MB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002188/0.3411, allocations: 1.492 MB / 1.022 GB, free: 6.695 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.146e-05/0.3412, allocations: 7.938 kB / 1.022 GB, free: 6.688 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004528/0.3417, allocations: 55.75 kB / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001705/0.3419, allocations: 51.75 kB / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.3422, allocations: 104.9 kB / 1.022 GB, free: 6.48 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.3424, allocations: 163.7 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.926e-05/0.3424, allocations: 12.17 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.445e-05/0.3425, allocations: 63.83 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.3427, allocations: 71.67 kB / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.3427, allocations: 12 kB / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.3429, allocations: 67.91 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.37e-05/0.343, allocations: 39.91 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.998e-05/0.343, allocations: 63.59 kB / 1.023 GB, free: 5.996 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.3433, allocations: 195.4 kB / 1.023 GB, free: 5.805 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3433, allocations: 3.938 kB / 1.023 GB, free: 5.801 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3433, allocations: 0 / 1.023 GB, free: 5.801 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.3434, allocations: 0 / 1.023 GB, free: 5.801 MB / 0.795 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.000682/0.344, allocations: 470.7 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.3441, allocations: 12.03 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.402e-05/0.3442, allocations: 12.75 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004672/0.3446, allocations: 265.4 kB / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.3447, allocations: 4.375 kB / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.3447, allocations: 8.125 kB / 1.023 GB, free: 4.961 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.3449, allocations: 123.3 kB / 1.024 GB, free: 4.828 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.345, allocations: 0 / 1.024 GB, free: 4.828 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.345, allocations: 0 / 1.024 GB, free: 4.828 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.345, allocations: 0 / 1.024 GB, free: 4.828 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000222/0.3452, allocations: 139.9 kB / 1.024 GB, free: 4.691 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002738/0.3455, allocations: 233.5 kB / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/0.3459, allocations: 170.5 kB / 1.024 GB, free: 4.238 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.346, allocations: 60.88 kB / 1.024 GB, free: 4.176 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.346, allocations: 11.92 kB / 1.024 GB, free: 4.164 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.3463, allocations: 108.7 kB / 1.024 GB, free: 4.047 MB / 0.795 GB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/0.3463, allocations: 0 / 1.024 GB, free: 4.047 MB / 0.795 GB Notification: Performance of matching and sorting (n=13): time 0.0004894/0.3468, allocations: 225.4 kB / 1.024 GB, free: 3.82 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.3468, allocations: 85.05 kB / 1.025 GB, free: 3.719 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.347, allocations: 202.6 kB / 1.025 GB, free: 3.508 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.3471, allocations: 33.7 kB / 1.025 GB, free: 3.469 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.182e-05/0.3471, allocations: 108.1 kB / 1.025 GB, free: 3.359 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.548e-05/0.3472, allocations: 51.38 kB / 1.025 GB, free: 3.309 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.284e-05/0.3473, allocations: 29.72 kB / 1.025 GB, free: 3.273 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002331/0.3475, allocations: 334.8 kB / 1.025 GB, free: 2.938 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.46e-05/0.3476, allocations: 43.98 kB / 1.025 GB, free: 2.895 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.3477, allocations: 80.66 kB / 1.025 GB, free: 2.809 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.3479, allocations: 120.9 kB / 1.026 GB, free: 2.688 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3479, allocations: 0 / 1.026 GB, free: 2.688 MB / 0.795 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003058/0.3482, allocations: 201.3 kB / 1.026 GB, free: 2.484 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3483, allocations: 7.938 kB / 1.026 GB, free: 2.477 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3483, allocations: 0 / 1.026 GB, free: 2.477 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3483, allocations: 4 kB / 1.026 GB, free: 2.473 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.3484, allocations: 31.98 kB / 1.026 GB, free: 2.441 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.3484, allocations: 0 / 1.026 GB, free: 2.441 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.343e-05/0.3485, allocations: 7.906 kB / 1.026 GB, free: 2.434 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.3485, allocations: 8 kB / 1.026 GB, free: 2.426 MB / 0.795 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.000115/0.3486, allocations: 143.5 kB / 1.026 GB, free: 2.277 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.3487, allocations: 15.81 kB / 1.026 GB, free: 2.262 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.687e-05/0.3488, allocations: 29.5 kB / 1.026 GB, free: 2.234 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3488, allocations: 0 / 1.026 GB, free: 2.234 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3488, allocations: 0 / 1.026 GB, free: 2.234 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3488, allocations: 8 kB / 1.026 GB, free: 2.227 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.349, allocations: 237.4 kB / 1.026 GB, free: 1.945 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.349, allocations: 3.938 kB / 1.026 GB, free: 1.941 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.622e-05/0.3491, allocations: 31.92 kB / 1.026 GB, free: 1.91 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3491, allocations: 0 / 1.026 GB, free: 1.91 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.3491, allocations: 4 kB / 1.026 GB, free: 1.906 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3491, allocations: 0 / 1.026 GB, free: 1.906 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3491, allocations: 0 / 1.026 GB, free: 1.906 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.3494, allocations: 208.8 kB / 1.026 GB, free: 1.684 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.446e-05/0.3495, allocations: 92.92 kB / 1.027 GB, free: 1.574 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.3495, allocations: 4 kB / 1.027 GB, free: 1.57 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.774e-05/0.3496, allocations: 11.98 kB / 1.027 GB, free: 1.559 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.3496, allocations: 7.984 kB / 1.027 GB, free: 1.551 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.3496, allocations: 4 kB / 1.027 GB, free: 1.547 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001267/0.3498, allocations: 160 kB / 1.027 GB, free: 1.391 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.573e-06/0.3498, allocations: 0 / 1.027 GB, free: 1.391 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002529/0.35, allocations: 43.94 kB / 1.027 GB, free: 1.348 MB / 0.795 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.001097/0.3512, allocations: 460.4 kB / 1.027 GB, free: 1.062 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000285/0.3514, allocations: 131.9 kB / 1.027 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3515, allocations: 0 / 1.027 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.3516, allocations: 56.05 kB / 1.027 GB, free: 0.8789 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.3519, allocations: 45.08 kB / 1.027 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005554/0.3524, allocations: 295 kB / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.3527, allocations: 0.7202 MB / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001101/0.3529, allocations: 49.5 kB / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.348e-05/0.3529, allocations: 27.42 kB / 1.028 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of SimCode: time 3.01e-07/0.3529, allocations: 4 kB / 1.028 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of Templates: time 0.005803/0.3587, allocations: 2.484 MB / 1.031 GB, free: 13.26 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches