Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.005468/0.005468, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001207/0.001207, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.81/2.81, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001376, allocations: 64.31 kB / 1.054 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3328, allocations: 157.4 MB / 1.208 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003101/0.3359, allocations: 1.64 MB / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002183/0.3382, allocations: 1.491 MB / 1.211 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.42e-05/0.3383, allocations: 0 / 1.211 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000402/0.3387, allocations: 55.7 kB / 1.211 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.3389, allocations: 47.77 kB / 1.211 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/0.3392, allocations: 109.1 kB / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.3394, allocations: 163.6 kB / 1.211 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.847e-05/0.3395, allocations: 12.22 kB / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.3396, allocations: 59.77 kB / 1.211 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.3398, allocations: 63.81 kB / 1.211 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.3398, allocations: 12 kB / 1.211 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.34, allocations: 71.95 kB / 1.211 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.923e-05/0.3401, allocations: 47.78 kB / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.168e-05/0.3401, allocations: 55.66 kB / 1.211 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.3404, allocations: 203.4 kB / 1.212 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3405, allocations: 0 / 1.212 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.126e-06/0.3405, allocations: 0 / 1.212 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.3405, allocations: 3.938 kB / 1.212 GB, free: 5.559 MB / 0.9669 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.0005969/0.3411, allocations: 466.5 kB / 1.212 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.3411, allocations: 12.03 kB / 1.212 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.526e-05/0.3412, allocations: 16.75 kB / 1.212 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.3416, allocations: 263.9 kB / 1.212 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.3416, allocations: 4.375 kB / 1.212 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.3416, allocations: 8.125 kB / 1.212 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000296/0.3419, allocations: 123.3 kB / 1.213 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.342, allocations: 4 kB / 1.213 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.342, allocations: 7.875 kB / 1.213 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.342, allocations: 4 kB / 1.213 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002394/0.3422, allocations: 143.8 kB / 1.213 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002872/0.3425, allocations: 225.6 kB / 1.213 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.3429, allocations: 178.5 kB / 1.213 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.343, allocations: 52.78 kB / 1.213 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.3431, allocations: 11.97 kB / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.3433, allocations: 115.3 kB / 1.213 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 3.146e-06/0.3433, allocations: 3.984 kB / 1.213 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0004837/0.3438, allocations: 224.2 kB / 1.213 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.3439, allocations: 77.11 kB / 1.214 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.3441, allocations: 204.1 kB / 1.214 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.3441, allocations: 33.7 kB / 1.214 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.049e-05/0.3442, allocations: 112.1 kB / 1.214 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.683e-05/0.3442, allocations: 51.3 kB / 1.214 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.059e-05/0.3443, allocations: 33.81 kB / 1.214 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3445, allocations: 326.8 kB / 1.214 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.3446, allocations: 59.91 kB / 1.214 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.3447, allocations: 72.52 kB / 1.214 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.3449, allocations: 121.7 kB / 1.214 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3449, allocations: 0 / 1.214 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003506/0.3453, allocations: 204 kB / 1.215 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.3453, allocations: 4 kB / 1.215 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.3453, allocations: 0 / 1.215 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.3454, allocations: 0 / 1.215 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.3455, allocations: 27.98 kB / 1.215 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.3455, allocations: 0 / 1.215 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.752e-05/0.3456, allocations: 4 kB / 1.215 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.3456, allocations: 8.031 kB / 1.215 GB, free: 2.172 MB / 0.9669 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.000116/0.3457, allocations: 141.7 kB / 1.215 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.3457, allocations: 15.81 kB / 1.215 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.759e-05/0.3458, allocations: 29.52 kB / 1.215 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.3458, allocations: 0 / 1.215 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.3458, allocations: 0 / 1.215 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3458, allocations: 0 / 1.215 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.3461, allocations: 249.3 kB / 1.215 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3461, allocations: 0 / 1.215 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.735e-05/0.3462, allocations: 20 kB / 1.215 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3462, allocations: 3.938 kB / 1.215 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.3462, allocations: 7.984 kB / 1.215 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.3462, allocations: 4 kB / 1.215 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3462, allocations: 3.938 kB / 1.215 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004276/0.3466, allocations: 212.8 kB / 1.215 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.3468, allocations: 88.92 kB / 1.215 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.3469, allocations: 8 kB / 1.215 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.72e-05/0.3469, allocations: 8 kB / 1.215 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/0.347, allocations: 11.98 kB / 1.215 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.104e-05/0.3471, allocations: 4 kB / 1.216 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001637/0.3472, allocations: 156.4 kB / 1.216 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3472, allocations: 0 / 1.216 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002975/0.3475, allocations: 31.98 kB / 1.216 GB, free: 1.102 MB / 0.9669 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.001379/0.3489, allocations: 465.8 kB / 1.216 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003247/0.3493, allocations: 119.2 kB / 1.216 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3493, allocations: 0 / 1.216 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.3494, allocations: 63.91 kB / 1.216 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.3498, allocations: 37.8 kB / 1.216 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007112/0.3505, allocations: 297.3 kB / 1.217 GB, free: 292 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/0.3509, allocations: 0.7163 MB / 1.217 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001505/0.3511, allocations: 45.52 kB / 1.217 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.17e-05/0.3512, allocations: 47.23 kB / 1.217 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.3512, allocations: 0 / 1.217 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of Templates: time 0.006075/0.3573, allocations: 2.577 MB / 1.22 GB, free: 12.92 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches