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.0008688/0.0008687, allocations: 83.38 kB / 16.01 MB, free: 92 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 188 kB / 16.92 MB, free: 6.293 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.416/1.416, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.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.66/2.66, allocations: 437.8 MB / 0.7128 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000405/0.0004053, allocations: 19.97 kB / 0.8735 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6569/0.6573, allocations: 153.8 MB / 1.024 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002325/0.6597, allocations: 1.368 MB / 1.025 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002295/0.6621, allocations: 1.429 MB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.987e-05/0.6622, allocations: 4 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004221/0.6626, allocations: 47.83 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.6628, allocations: 47.83 kB / 1.027 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003169/0.6632, allocations: 95.75 kB / 1.027 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00023/0.6634, allocations: 151.7 kB / 1.027 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.6635, allocations: 8.234 kB / 1.027 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.6636, allocations: 59.7 kB / 1.027 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.6638, allocations: 71.73 kB / 1.027 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/0.6638, allocations: 4 kB / 1.027 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.664, allocations: 59.97 kB / 1.027 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.97e-05/0.6641, allocations: 39.84 kB / 1.027 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.472e-05/0.6642, allocations: 81.3 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002527/0.6644, allocations: 141.9 kB / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.6644, allocations: 4 kB / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6645, allocations: 4 kB / 1.027 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.6645, allocations: 0 / 1.027 GB, free: 12.49 MB / 0.7794 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.0006134/0.6651, allocations: 436.5 kB / 1.028 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.6651, allocations: 8.031 kB / 1.028 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.116e-05/0.6652, allocations: 16.75 kB / 1.028 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.6656, allocations: 267.8 kB / 1.028 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.6656, allocations: 4.375 kB / 1.028 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.6657, allocations: 16.11 kB / 1.028 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.666, allocations: 119.3 kB / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.666, allocations: 0 / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.666, allocations: 0 / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.666, allocations: 0 / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002317/0.6662, allocations: 147.7 kB / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000266/0.6665, allocations: 237.5 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.6669, allocations: 174.5 kB / 1.029 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.667, allocations: 52.78 kB / 1.029 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.6671, allocations: 4 kB / 1.029 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002611/0.6673, allocations: 111.3 kB / 1.029 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.6674, allocations: 0 / 1.029 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0005/0.6679, allocations: 229 kB / 1.029 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.895e-05/0.6679, allocations: 81.11 kB / 1.029 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.6682, allocations: 202.6 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.6682, allocations: 33.7 kB / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.897e-05/0.6683, allocations: 108.1 kB / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.455e-05/0.6684, allocations: 47.44 kB / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.6684, allocations: 17.72 kB / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.6685, allocations: 330.8 kB / 1.03 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.901e-05/0.6686, allocations: 43.98 kB / 1.03 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.6688, allocations: 78.55 kB / 1.03 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.669, allocations: 125.7 kB / 1.03 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.669, allocations: 0 / 1.03 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003525/0.6694, allocations: 201.3 kB / 1.03 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.6694, allocations: 4 kB / 1.03 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.6694, allocations: 3.938 kB / 1.03 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.6694, allocations: 8.047 kB / 1.03 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.6696, allocations: 27.98 kB / 1.03 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.6696, allocations: 0 / 1.03 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.876e-05/0.6697, allocations: 11.94 kB / 1.03 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.6697, allocations: 7.984 kB / 1.03 GB, free: 9.152 MB / 0.7794 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.000134/0.6698, allocations: 138.2 kB / 1.03 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/0.6699, allocations: 15.81 kB / 1.03 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.58e-05/0.6699, allocations: 29.52 kB / 1.03 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.6699, allocations: 0 / 1.03 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.6699, allocations: 4 kB / 1.03 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.67, allocations: 0 / 1.03 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.6702, allocations: 241.4 kB / 1.031 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.6702, allocations: 0 / 1.031 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.693e-05/0.6703, allocations: 19.98 kB / 1.031 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.6703, allocations: 0 / 1.031 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.6703, allocations: 4 kB / 1.031 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.6703, allocations: 3.938 kB / 1.031 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6703, allocations: 0 / 1.031 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003474/0.6707, allocations: 220.8 kB / 1.031 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.445e-05/0.6707, allocations: 96.84 kB / 1.031 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.6708, allocations: 8 kB / 1.031 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.177e-05/0.6709, allocations: 4 kB / 1.031 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.6709, allocations: 7.984 kB / 1.031 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/0.6709, allocations: 8 kB / 1.031 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001369/0.6711, allocations: 156.2 kB / 1.031 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6711, allocations: 0 / 1.031 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002623/0.6714, allocations: 36 kB / 1.031 GB, free: 8.086 MB / 0.7794 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.001186/0.6725, allocations: 465.8 kB / 1.032 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002978/0.6729, allocations: 123.9 kB / 1.032 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6729, allocations: 4.062 kB / 1.032 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.673, allocations: 59.91 kB / 1.032 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.6733, allocations: 38.59 kB / 1.032 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000643/0.674, allocations: 367.5 kB / 1.032 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.6743, allocations: 0.7166 MB / 1.033 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.808e-05/0.6744, allocations: 35.42 kB / 1.033 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of SimCode: time 4.71e-07/0.6744, allocations: 0 / 1.033 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of Templates: time 0.005734/0.6801, allocations: 2.771 MB / 1.036 GB, free: 3.672 MB / 0.7794 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 -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