Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00187/0.00187, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.002878/0.002878, allocations: 217.8 kB / 22.25 MB, free: 5.219 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.606/1.606, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.397/3.397, allocations: 0.49 GB / 0.7951 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002153/0.002153, allocations: 67.91 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4399/0.442, allocations: 176.1 MB / 1.326 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003507/0.4455, allocations: 1.685 MB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003124/0.4487, allocations: 1.751 MB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.929e-05/0.4487, allocations: 0 / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004838/0.4492, allocations: 51.7 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003/0.4495, allocations: 99.53 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.4497, allocations: 75.73 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000293/0.45, allocations: 187.5 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.934e-05/0.4501, allocations: 8 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.4502, allocations: 71.75 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.4504, allocations: 67.81 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.4504, allocations: 15.88 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.4507, allocations: 123.9 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.244e-05/0.4508, allocations: 43.89 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.612e-05/0.4508, allocations: 63.61 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003906/0.4512, allocations: 247 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4512, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.273e-06/0.4512, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.4512, allocations: 4 kB / 1.331 GB, free: 12.96 MB / 1.029 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.0007747/0.452, allocations: 425 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.4521, allocations: 8.031 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.933e-05/0.4521, allocations: 16.84 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005569/0.4527, allocations: 215 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.4527, allocations: 384 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.4527, allocations: 12.12 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.453, allocations: 115.3 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.453, allocations: 0 / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.453, allocations: 0 / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.453, allocations: 4 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/0.4533, allocations: 143.8 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.4536, allocations: 204.6 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/0.454, allocations: 158.5 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.4541, allocations: 60.77 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.074e-05/0.4542, allocations: 8.047 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002533/0.4544, allocations: 118.7 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.4544, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005497/0.455, allocations: 221.5 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.868e-05/0.4551, allocations: 81.09 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.4553, allocations: 218.9 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.4554, allocations: 29.7 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.664e-05/0.4555, allocations: 112.1 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.401e-05/0.4555, allocations: 43.69 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.268e-05/0.4556, allocations: 33.7 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001919/0.4558, allocations: 334.8 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.4559, allocations: 43.98 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.456, allocations: 74.55 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/0.4563, allocations: 125.6 kB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4563, allocations: 0 / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003565/0.4567, allocations: 205.3 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.4567, allocations: 6.031 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4567, allocations: 0 / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.4567, allocations: 4 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.4568, allocations: 32.05 kB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.4568, allocations: 0 / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.905e-05/0.4569, allocations: 7.938 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.4569, allocations: 8 kB / 1.334 GB, free: 9.738 MB / 1.029 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.000288/0.4572, allocations: 146.2 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.524e-05/0.4573, allocations: 19.86 kB / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006139/0.4579, allocations: 220.9 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.4579, allocations: 0 / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.4579, allocations: 4 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4579, allocations: 0 / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002946/0.4582, allocations: 220.5 kB / 1.334 GB, free: 9.074 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4582, allocations: 0 / 1.334 GB, free: 9.074 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.563e-05/0.4582, allocations: 23.88 kB / 1.334 GB, free: 9.051 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4582, allocations: 0 / 1.334 GB, free: 9.051 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.4583, allocations: 7.984 kB / 1.334 GB, free: 9.043 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4583, allocations: 0 / 1.334 GB, free: 9.043 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4583, allocations: 0 / 1.334 GB, free: 9.043 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003725/0.4586, allocations: 212.9 kB / 1.334 GB, free: 8.816 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.4587, allocations: 19.84 kB / 1.334 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.557e-05/0.4587, allocations: 4 kB / 1.334 GB, free: 8.793 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.071e-05/0.4588, allocations: 4 kB / 1.334 GB, free: 8.789 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.4588, allocations: 11.97 kB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.4588, allocations: 4 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001768/0.459, allocations: 168.2 kB / 1.335 GB, free: 8.609 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.459, allocations: 0 / 1.335 GB, free: 8.609 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002939/0.4593, allocations: 55.86 kB / 1.335 GB, free: 8.555 MB / 1.029 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 (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.001885/0.4612, allocations: 0.5114 MB / 1.335 GB, free: 8.227 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002908/0.4615, allocations: 115.9 kB / 1.335 GB, free: 8.113 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4615, allocations: 0 / 1.335 GB, free: 8.113 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.4616, allocations: 50.61 kB / 1.335 GB, free: 8.066 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.4619, allocations: 44.44 kB / 1.335 GB, free: 8.027 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006476/0.4625, allocations: 306.8 kB / 1.336 GB, free: 7.703 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005425/0.4631, allocations: 0.7281 MB / 1.336 GB, free: 6.949 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001195/0.4632, allocations: 49.59 kB / 1.336 GB, free: 6.902 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.244e-05/0.4633, allocations: 39.41 kB / 1.337 GB, free: 6.863 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4633, allocations: 0 / 1.337 GB, free: 6.863 MB / 1.029 GB Notification: Performance of Templates: time 0.007698/0.471, allocations: 3.119 MB / 1.34 GB, free: 3.785 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.639918158762157]