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.0007674/0.0007674, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001217/0.001985, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007413/0.0007413, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001035/0.001776, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.989/0.989, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09234/1.081, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.825/1.825, allocations: 378.4 MB / 0.6079 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.573/2.398, allocations: 123.3 MB / 0.7283 GB, free: 5.711 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.7297 GB, free: 4.379 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.155e-05/1.331e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.375 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.001968/0.001982, allocations: 1.762 MB / 0.7314 GB, free: 2.637 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001718/0.0037, allocations: 1.773 MB / 0.7331 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.762e-05/0.003767, allocations: 7.938 kB / 0.7331 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002874/0.004055, allocations: 61.2 kB / 0.7332 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.004222, allocations: 99.64 kB / 0.7333 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001072/0.004329, allocations: 75.56 kB / 0.7334 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.00453, allocations: 189.5 kB / 0.7335 GB, free: 472 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.304e-05/0.004563, allocations: 4 kB / 0.7335 GB, free: 468 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.004722, allocations: 107.8 kB / 0.7336 GB, free: 360 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.972e-05/0.004802, allocations: 59.84 kB / 0.7337 GB, free: 300 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.004823, allocations: 12.78 kB / 0.7337 GB, free: 288 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.004975, allocations: 119.8 kB / 0.7338 GB, free: 168 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.474e-05/0.005029, allocations: 36.38 kB / 0.7339 GB, free: 132 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.413e-05/0.005063, allocations: 29.31 kB / 0.7339 GB, free: 104 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.005304, allocations: 203.2 kB / 0.7341 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.005314, allocations: 0 / 0.7341 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.92e-07/0.005315, allocations: 0 / 0.7341 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.005324, allocations: 0.7812 kB / 0.7341 GB, free: 15.9 MB / 0.7136 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.0004722/0.005796, allocations: 435.2 kB / 0.7345 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.005828, allocations: 12.66 kB / 0.7345 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.005867, allocations: 13.83 kB / 0.7345 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.006042, allocations: 178.4 kB / 0.7347 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.006056, allocations: 1.188 kB / 0.7347 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.006071, allocations: 8.375 kB / 0.7347 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.00622, allocations: 146.4 kB / 0.7348 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.006226, allocations: 3.938 kB / 0.7349 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.006237, allocations: 8 kB / 0.7349 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.006241, allocations: 0 / 0.7349 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.92e-05/0.00633, allocations: 83.22 kB / 0.7349 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001055/0.006435, allocations: 92.08 kB / 0.735 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.006644, allocations: 137.3 kB / 0.7352 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.606e-05/0.00668, allocations: 28.84 kB / 0.7352 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.006694, allocations: 5.062 kB / 0.7352 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000118/0.006812, allocations: 90.12 kB / 0.7353 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 7.61e-07/0.006812, allocations: 0.5 kB / 0.7353 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0001691/0.006982, allocations: 96.05 kB / 0.7354 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.007012, allocations: 59.34 kB / 0.7354 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.00716, allocations: 217.5 kB / 0.7356 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.007186, allocations: 33.7 kB / 0.7357 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.007221, allocations: 96.09 kB / 0.7358 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.693e-05/0.007268, allocations: 47.62 kB / 0.7358 GB, free: 14 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.007307, allocations: 31.23 kB / 0.7358 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.671e-05/0.007404, allocations: 334.8 kB / 0.7362 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.029e-05/0.007434, allocations: 22.75 kB / 0.7362 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.546e-05/0.00748, allocations: 64.27 kB / 0.7362 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.156e-05/0.007551, allocations: 66.48 kB / 0.7363 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.007553, allocations: 1.312 kB / 0.7363 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001027/0.007656, allocations: 104.4 kB / 0.7364 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.007666, allocations: 5.594 kB / 0.7364 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.007672, allocations: 3.984 kB / 0.7364 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.007683, allocations: 0 / 0.7364 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.6e-05/0.007769, allocations: 32.03 kB / 0.7364 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.007772, allocations: 3.938 kB / 0.7364 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.437e-05/0.007807, allocations: 17.22 kB / 0.7365 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/0.007816, allocations: 8 kB / 0.7365 GB, free: 13.28 MB / 0.7136 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 7.264e-05/0.007888, allocations: 119.6 kB / 0.7366 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.007906, allocations: 11.98 kB / 0.7366 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001602/0.008066, allocations: 144.6 kB / 0.7367 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.008068, allocations: 0 / 0.7367 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.008071, allocations: 4.953 kB / 0.7367 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.008075, allocations: 0 / 0.7367 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.008184, allocations: 125.7 kB / 0.7369 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.008186, allocations: 1.25 kB / 0.7369 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.786e-05/0.008253, allocations: 43.97 kB / 0.7369 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.328e-05/0.008277, allocations: 27.78 kB / 0.7369 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.008278, allocations: 1.25 kB / 0.7369 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.008287, allocations: 8 kB / 0.7369 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.008288, allocations: 0 / 0.7369 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.008289, allocations: 0 / 0.7369 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.008407, allocations: 145.2 kB / 0.7371 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.00843, allocations: 11.94 kB / 0.7371 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.569e-05/0.008456, allocations: 4.531 kB / 0.7371 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.008493, allocations: 17.03 kB / 0.7371 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.008506, allocations: 11.98 kB / 0.7371 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.686e-05/0.008563, allocations: 73 kB / 0.7372 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.008563, allocations: 0.875 kB / 0.7372 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001496/0.008713, allocations: 59.86 kB / 0.7372 GB, free: 12.44 MB / 0.7136 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.001405/0.01012, allocations: 0.7041 MB / 0.7379 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001209/0.01024, allocations: 79.92 kB / 0.738 GB, free: 12 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.01025, allocations: 7.984 kB / 0.738 GB, free: 12 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.331e-05/0.01032, allocations: 65.09 kB / 0.7381 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.01052, allocations: 192.5 kB / 0.7383 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005057/0.01102, allocations: 316.5 kB / 0.7386 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.247e-05/0.01106, allocations: 80.48 kB / 0.7386 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.866e-05/0.01112, allocations: 40.44 kB / 0.7387 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.01123, allocations: 95.33 kB / 0.7388 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of SimCode: time 5.31e-07/0.01123, allocations: 0 / 0.7388 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of Templates: time 0.008151/0.01938, allocations: 3.837 MB / 0.7425 GB, free: 7.512 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData/Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1296361470595]