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.0008417/0.0008417, allocations: 80.45 kB / 19.93 MB, free: 4.605 MB / 18.57 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.0008084/0.0008084, allocations: 173.2 kB / 23.22 MB, free: 1.316 MB / 18.57 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.8895/0.8895, allocations: 177.2 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.73/1.73, allocations: 377.8 MB / 0.6229 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.9822 GB, free: 0.9141 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.829e-05, allocations: 2.281 kB / 0.9822 GB, free: 0.9102 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.001995/0.002014, allocations: 1.667 MB / 0.9839 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.003532, allocations: 1.671 MB / 0.9855 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.202e-05/0.003594, allocations: 0 / 0.9855 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0004005/0.003994, allocations: 55.64 kB / 0.9855 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.00418, allocations: 103.4 kB / 0.9856 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000109/0.004289, allocations: 79.59 kB / 0.9857 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.004464, allocations: 187.5 kB / 0.9859 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.438e-05/0.004498, allocations: 4 kB / 0.9859 GB, free: 13.13 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.481e-05/0.004593, allocations: 83.8 kB / 0.986 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 9.58e-05/0.004689, allocations: 63.86 kB / 0.986 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.004709, allocations: 12 kB / 0.986 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.004841, allocations: 111.8 kB / 0.9862 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 6.118e-05/0.004902, allocations: 47.89 kB / 0.9862 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.338e-05/0.004946, allocations: 39.84 kB / 0.9862 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.005207, allocations: 263.1 kB / 0.9865 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.005209, allocations: 0 / 0.9865 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.12e-07/0.00521, allocations: 4 kB / 0.9865 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.005214, allocations: 0 / 0.9865 GB, free: 12.52 MB / 0.9011 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.0004486/0.005663, allocations: 425 kB / 0.9869 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.005694, allocations: 8.031 kB / 0.9869 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.005736, allocations: 16.84 kB / 0.9869 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.005966, allocations: 202.4 kB / 0.9871 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.005977, allocations: 4.375 kB / 0.9871 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.005989, allocations: 8.312 kB / 0.9871 GB, free: 11.81 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.006162, allocations: 157.6 kB / 0.9873 GB, free: 11.64 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.00617, allocations: 3.938 kB / 0.9873 GB, free: 11.64 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.006181, allocations: 4 kB / 0.9873 GB, free: 11.63 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.006185, allocations: 0 / 0.9873 GB, free: 11.63 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.006373, allocations: 191.7 kB / 0.9875 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002978/0.006671, allocations: 173.2 kB / 0.9876 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.006959, allocations: 202.4 kB / 0.9878 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.976e-05/0.007029, allocations: 64.81 kB / 0.9879 GB, free: 10.97 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.007043, allocations: 4 kB / 0.9879 GB, free: 10.97 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001441/0.007187, allocations: 119.4 kB / 0.988 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=13): time 9.02e-07/0.007188, allocations: 7.938 kB / 0.988 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of matching and sorting (n=13): time 0.000343/0.007531, allocations: 259.2 kB / 0.9883 GB, free: 10.57 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.007567, allocations: 81.09 kB / 0.9883 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.007733, allocations: 251 kB / 0.9886 GB, free: 10.22 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.007748, allocations: 29.7 kB / 0.9886 GB, free: 10.19 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/0.007794, allocations: 112.1 kB / 0.9887 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.00783, allocations: 47.64 kB / 0.9888 GB, free: 10.03 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.956e-05/0.007869, allocations: 33.7 kB / 0.9888 GB, free: 9.988 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.733e-05/0.007947, allocations: 334.8 kB / 0.9891 GB, free: 9.652 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.602e-05/0.008013, allocations: 51.97 kB / 0.9892 GB, free: 9.602 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.724e-05/0.0081, allocations: 120.2 kB / 0.9893 GB, free: 9.469 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.008249, allocations: 138.4 kB / 0.9894 GB, free: 9.328 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.00825, allocations: 0 / 0.9894 GB, free: 9.328 MB / 0.9011 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002141/0.008465, allocations: 227.6 kB / 0.9896 GB, free: 9.102 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.008478, allocations: 4 kB / 0.9896 GB, free: 9.098 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.008482, allocations: 3.938 kB / 0.9896 GB, free: 9.094 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.627e-06/0.00849, allocations: 4 kB / 0.9896 GB, free: 9.09 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.315e-05/0.008563, allocations: 23.98 kB / 0.9897 GB, free: 9.066 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.008567, allocations: 4.047 kB / 0.9897 GB, free: 9.062 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.558e-05/0.008603, allocations: 15.89 kB / 0.9897 GB, free: 9.047 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.008611, allocations: 7.984 kB / 0.9897 GB, free: 9.039 MB / 0.9011 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.427e-05/0.008695, allocations: 147.2 kB / 0.9898 GB, free: 8.887 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/0.008716, allocations: 15.91 kB / 0.9898 GB, free: 8.871 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002993/0.009015, allocations: 276.4 kB / 0.9901 GB, free: 8.598 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.009018, allocations: 7.938 kB / 0.9901 GB, free: 8.59 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.009022, allocations: 0 / 0.9901 GB, free: 8.59 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.009026, allocations: 3.938 kB / 0.9901 GB, free: 8.586 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.009155, allocations: 205.1 kB / 0.9903 GB, free: 8.355 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.009157, allocations: 4 kB / 0.9903 GB, free: 8.352 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.885e-05/0.009216, allocations: 35.92 kB / 0.9903 GB, free: 8.316 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.009217, allocations: 0 / 0.9903 GB, free: 8.316 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.009227, allocations: 8 kB / 0.9904 GB, free: 8.309 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.62e-07/0.009228, allocations: 0 / 0.9904 GB, free: 8.309 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.009229, allocations: 3.938 kB / 0.9904 GB, free: 8.305 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.009478, allocations: 279.3 kB / 0.9906 GB, free: 8.016 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 2.037e-05/0.009498, allocations: 27.77 kB / 0.9907 GB, free: 7.988 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.00952, allocations: 4 kB / 0.9907 GB, free: 7.984 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.938e-05/0.009549, allocations: 8 kB / 0.9907 GB, free: 7.977 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.009583, allocations: 27.84 kB / 0.9907 GB, free: 7.949 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.009596, allocations: 4 kB / 0.9907 GB, free: 7.945 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001121/0.009708, allocations: 196.4 kB / 0.9909 GB, free: 7.754 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.009708, allocations: 0 / 0.9909 GB, free: 7.754 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001849/0.009893, allocations: 55.86 kB / 0.9909 GB, free: 7.699 MB / 0.9011 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.0008108/0.0107, allocations: 0.5414 MB / 0.9915 GB, free: 7.371 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.000207/0.01091, allocations: 143.9 kB / 0.9916 GB, free: 7.23 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01091, allocations: 0 / 0.9916 GB, free: 7.23 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 9.197e-05/0.011, allocations: 91.83 kB / 0.9917 GB, free: 7.141 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.01118, allocations: 38.48 kB / 0.9917 GB, free: 7.105 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004462/0.01163, allocations: 393.8 kB / 0.9921 GB, free: 6.688 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.941e-05/0.0117, allocations: 116.1 kB / 0.9922 GB, free: 6.559 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.603e-05/0.01176, allocations: 44.41 kB / 0.9923 GB, free: 6.512 MB / 0.9011 GB Notification: Performance of SimCode: time 5.51e-07/0.01176, allocations: 0 / 0.9923 GB, free: 6.512 MB / 0.9011 GB Notification: Performance of Templates: time 0.003687/0.01545, allocations: 3.504 MB / 0.9957 GB, free: 3.031 MB / 0.9011 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: 6.865961586125195]