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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 85.38 kB / 19.76 MB, free: 2.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00199/0.00199, allocations: 159.5 kB / 23.01 MB, free: 4.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.445/1.445, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.924/2.924, allocations: 394.2 MB / 0.6386 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=671,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=671,variableFilter="time|combiTimeTable.y.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 67.89 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8419/0.8442, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002698/0.8469, allocations: 1.665 MB / 1.188 GB, free: 15.08 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002052/0.8489, allocations: 1.67 MB / 1.19 GB, free: 13.95 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.921e-05/0.849, allocations: 1.062 kB / 1.19 GB, free: 13.95 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003845/0.8494, allocations: 55.56 kB / 1.19 GB, free: 13.92 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002403/0.8496, allocations: 99.8 kB / 1.19 GB, free: 13.87 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001473/0.8498, allocations: 77.25 kB / 1.19 GB, free: 13.82 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.85, allocations: 182.2 kB / 1.19 GB, free: 13.74 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.705e-05/0.85, allocations: 8.125 kB / 1.19 GB, free: 13.74 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 8.739e-05/0.8501, allocations: 67.12 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.8502, allocations: 63.98 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.8503, allocations: 11.47 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001722/0.8504, allocations: 117.4 kB / 1.191 GB, free: 13.64 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.503e-05/0.8505, allocations: 49.34 kB / 1.191 GB, free: 13.62 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.261e-05/0.8506, allocations: 56.45 kB / 1.191 GB, free: 13.59 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003213/0.8509, allocations: 248.5 kB / 1.191 GB, free: 13.49 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.8509, allocations: 0 / 1.191 GB, free: 13.49 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8509, allocations: 1.125 kB / 1.191 GB, free: 13.49 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.8509, allocations: 0 / 1.191 GB, free: 13.49 MB / 1.076 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.0005325/0.8514, allocations: 420.5 kB / 1.191 GB, free: 13.12 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.8515, allocations: 9.969 kB / 1.191 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.022e-05/0.8515, allocations: 17.14 kB / 1.191 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.8518, allocations: 200.2 kB / 1.191 GB, free: 12.94 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.8518, allocations: 11.59 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.8519, allocations: 7.75 kB / 1.192 GB, free: 12.93 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.8521, allocations: 152.8 kB / 1.192 GB, free: 12.83 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.8521, allocations: 0 / 1.192 GB, free: 12.83 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.8521, allocations: 1.5 kB / 1.192 GB, free: 12.83 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.8521, allocations: 2.047 kB / 1.192 GB, free: 12.83 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003038/0.8524, allocations: 189.7 kB / 1.192 GB, free: 12.8 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002075/0.8526, allocations: 179.4 kB / 1.192 GB, free: 12.64 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004672/0.8531, allocations: 195.5 kB / 1.192 GB, free: 12.57 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.8532, allocations: 61.09 kB / 1.192 GB, free: 12.55 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.8532, allocations: 2.969 kB / 1.192 GB, free: 12.55 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002121/0.8534, allocations: 128 kB / 1.192 GB, free: 12.47 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.8534, allocations: 1.344 kB / 1.192 GB, free: 12.47 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.0005195/0.854, allocations: 262.9 kB / 1.193 GB, free: 12.37 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.854, allocations: 79.62 kB / 1.193 GB, free: 12.27 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.8542, allocations: 250.5 kB / 1.193 GB, free: 12.13 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.8542, allocations: 31.89 kB / 1.193 GB, free: 12.09 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.467e-05/0.8543, allocations: 111.9 kB / 1.193 GB, free: 11.99 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/0.8543, allocations: 48.03 kB / 1.193 GB, free: 11.96 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.435e-05/0.8544, allocations: 35.59 kB / 1.193 GB, free: 11.93 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.842e-05/0.8544, allocations: 329.8 kB / 1.193 GB, free: 11.61 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.8545, allocations: 57.08 kB / 1.194 GB, free: 11.59 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.8547, allocations: 107.7 kB / 1.194 GB, free: 11.52 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.8549, allocations: 155.6 kB / 1.194 GB, free: 11.44 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.8549, allocations: 0 / 1.194 GB, free: 11.44 MB / 1.076 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003428/0.8553, allocations: 215.6 kB / 1.194 GB, free: 11.35 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.8553, allocations: 5.703 kB / 1.194 GB, free: 11.35 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.8553, allocations: 1.156 kB / 1.194 GB, free: 11.35 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.8553, allocations: 5 kB / 1.194 GB, free: 11.34 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.8554, allocations: 25.34 kB / 1.194 GB, free: 11.34 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.8554, allocations: 1.062 kB / 1.194 GB, free: 11.34 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.834e-05/0.8555, allocations: 12.97 kB / 1.194 GB, free: 11.34 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.8555, allocations: 13.44 kB / 1.194 GB, free: 11.33 MB / 1.076 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 8.753e-05/0.8556, allocations: 136.5 kB / 1.194 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.051e-05/0.8556, allocations: 20.09 kB / 1.194 GB, free: 11.19 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004889/0.8561, allocations: 290.6 kB / 1.194 GB, free: 11.06 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.8561, allocations: 6.188 kB / 1.194 GB, free: 11.06 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.8561, allocations: 0.8438 kB / 1.194 GB, free: 11.06 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.8561, allocations: 0.6562 kB / 1.194 GB, free: 11.06 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.8563, allocations: 198.2 kB / 1.195 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.8563, allocations: 1.125 kB / 1.195 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.8564, allocations: 42.33 kB / 1.195 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.8564, allocations: 5 kB / 1.195 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.8565, allocations: 4.609 kB / 1.195 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.8565, allocations: 1.062 kB / 1.195 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.8565, allocations: 1.781 kB / 1.195 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/0.8569, allocations: 278.4 kB / 1.195 GB, free: 10.74 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.46e-05/0.8569, allocations: 21.47 kB / 1.195 GB, free: 10.73 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.8569, allocations: 11.62 kB / 1.195 GB, free: 10.72 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.55e-05/0.857, allocations: 6.875 kB / 1.195 GB, free: 10.72 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.8571, allocations: 14.69 kB / 1.195 GB, free: 10.72 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.329e-05/0.8571, allocations: 15.33 kB / 1.195 GB, free: 10.71 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001591/0.8572, allocations: 194.9 kB / 1.195 GB, free: 10.6 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.8572, allocations: 0 / 1.195 GB, free: 10.6 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003004/0.8575, allocations: 59.56 kB / 1.195 GB, free: 10.58 MB / 1.076 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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.001837/0.8594, allocations: 0.5284 MB / 1.196 GB, free: 10.36 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003325/0.8597, allocations: 162 kB / 1.196 GB, free: 10.3 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.8597, allocations: 0 / 1.196 GB, free: 10.3 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.8599, allocations: 86.92 kB / 1.196 GB, free: 10.28 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.8602, allocations: 46.56 kB / 1.196 GB, free: 10.26 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006035/0.8608, allocations: 354 kB / 1.196 GB, free: 10.05 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.8609, allocations: 120.2 kB / 1.197 GB, free: 9.969 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001219/0.861, allocations: 50.56 kB / 1.197 GB, free: 9.957 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.625e-05/0.8611, allocations: 39.02 kB / 1.197 GB, free: 9.945 MB / 1.076 GB Notification: Performance of SimCode: time 3.81e-07/0.8611, allocations: 3.938 kB / 1.197 GB, free: 9.941 MB / 1.076 GB Notification: Performance of Templates: time 0.007889/0.869, allocations: 3.533 MB / 1.2 GB, free: 9.434 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.749120688997209]