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.000991/0.0009913, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.008809/0.008809, allocations: 168.6 kB / 16.26 MB, free: 6.648 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.525/1.525, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.608/2.608, allocations: 390.9 MB / 0.6663 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003854/0.0003853, allocations: 12 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8423/0.8427, allocations: 142.4 MB / 0.9551 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002051/0.8448, allocations: 1.359 MB / 0.9564 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001986/0.8468, allocations: 1.433 MB / 0.9578 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.594e-05/0.8469, allocations: 1.5 kB / 0.9578 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004602/0.8474, allocations: 55.23 kB / 0.9578 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.8476, allocations: 42.83 kB / 0.9579 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.8479, allocations: 94.86 kB / 0.958 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.8481, allocations: 157.4 kB / 0.9581 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.843e-05/0.8482, allocations: 13.58 kB / 0.9581 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.063e-05/0.8482, allocations: 53.97 kB / 0.9582 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.8484, allocations: 72.12 kB / 0.9582 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.8485, allocations: 5.5 kB / 0.9583 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.8486, allocations: 55.73 kB / 0.9583 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.548e-05/0.8487, allocations: 34.83 kB / 0.9583 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.619e-05/0.8488, allocations: 91.55 kB / 0.9584 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.849, allocations: 188.3 kB / 0.9586 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.849, allocations: 0 / 0.9586 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.345e-06/0.8491, allocations: 0 / 0.9586 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.8491, allocations: 1.5 kB / 0.9586 GB, free: 4.973 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.0005673/0.8496, allocations: 439.9 kB / 0.959 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.8497, allocations: 9.219 kB / 0.959 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.586e-05/0.8498, allocations: 16.38 kB / 0.9591 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.85, allocations: 259.2 kB / 0.9593 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.8501, allocations: 10.39 kB / 0.9593 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.8501, allocations: 7.469 kB / 0.9593 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.8503, allocations: 115.4 kB / 0.9594 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.8504, allocations: 0 / 0.9594 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.8504, allocations: 5.219 kB / 0.9594 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.8504, allocations: 1.406 kB / 0.9594 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002218/0.8506, allocations: 140.2 kB / 0.9596 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002042/0.8508, allocations: 243.9 kB / 0.9598 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003554/0.8512, allocations: 170.5 kB / 0.96 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.503e-05/0.8513, allocations: 65.58 kB / 0.96 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/0.8513, allocations: 4.125 kB / 0.96 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002452/0.8516, allocations: 113.7 kB / 0.9601 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.8516, allocations: 0 / 0.9601 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004566/0.8521, allocations: 226.2 kB / 0.9604 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.8521, allocations: 79.86 kB / 0.9604 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.8523, allocations: 200.3 kB / 0.9606 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.8523, allocations: 32.45 kB / 0.9606 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.8524, allocations: 109.6 kB / 0.9608 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.821e-05/0.8524, allocations: 39.7 kB / 0.9608 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/0.8525, allocations: 17.84 kB / 0.9608 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.829e-05/0.8525, allocations: 334.9 kB / 0.9611 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.448e-05/0.8526, allocations: 45.08 kB / 0.9612 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.8527, allocations: 71.55 kB / 0.9612 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/0.853, allocations: 123.8 kB / 0.9614 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.853, allocations: 5.281 kB / 0.9614 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003159/0.8533, allocations: 195.7 kB / 0.9615 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.8533, allocations: 5.406 kB / 0.9616 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.8533, allocations: 0 / 0.9616 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.8533, allocations: 1.062 kB / 0.9616 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.8535, allocations: 34.05 kB / 0.9616 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.8535, allocations: 1.031 kB / 0.9616 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.707e-05/0.8536, allocations: 11 kB / 0.9616 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.8536, allocations: 9.078 kB / 0.9616 GB, free: 2.461 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 0.000104/0.8537, allocations: 143.7 kB / 0.9617 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.8537, allocations: 15.56 kB / 0.9618 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.422e-05/0.8538, allocations: 27.52 kB / 0.9618 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.8538, allocations: 2.094 kB / 0.9618 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.8538, allocations: 0 / 0.9618 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.8538, allocations: 0 / 0.9618 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.854, allocations: 242.7 kB / 0.962 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.854, allocations: 0 / 0.962 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.665e-05/0.8541, allocations: 23.77 kB / 0.962 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.8541, allocations: 0.75 kB / 0.962 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.8541, allocations: 6.812 kB / 0.962 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.8541, allocations: 5.031 kB / 0.9621 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.8541, allocations: 4.938 kB / 0.9621 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/0.8545, allocations: 215.1 kB / 0.9623 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.744e-05/0.8545, allocations: 102.1 kB / 0.9624 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.8546, allocations: 2.219 kB / 0.9624 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.888e-05/0.8546, allocations: 6.875 kB / 0.9624 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.8547, allocations: 8.891 kB / 0.9624 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.8547, allocations: 9.25 kB / 0.9624 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001288/0.8548, allocations: 162.9 kB / 0.9625 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8548, allocations: 0 / 0.9625 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002611/0.8551, allocations: 30.12 kB / 0.9626 GB, free: 1.645 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.00108/0.8562, allocations: 469.7 kB / 0.963 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002793/0.8565, allocations: 123.1 kB / 0.9631 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.8565, allocations: 1.094 kB / 0.9631 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.8566, allocations: 58.06 kB / 0.9632 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.8569, allocations: 39.67 kB / 0.9632 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000555/0.8575, allocations: 333.7 kB / 0.9635 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001738/0.8577, allocations: 0.7185 MB / 0.9643 GB, free: 360 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001195/0.8578, allocations: 57.98 kB / 0.9643 GB, free: 336 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.551e-05/0.8579, allocations: 35.59 kB / 0.9643 GB, free: 316 kB / 0.7169 GB Notification: Performance of SimCode: time 3.4e-07/0.8579, allocations: 1.281 kB / 0.9643 GB, free: 316 kB / 0.7169 GB Notification: Performance of Templates: time 0.006081/0.864, allocations: 2.363 MB / 0.9666 GB, free: 15.14 MB / 0.7325 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