Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002765/0.002765, allocations: 79.75 kB / 20.23 MB, free: 4.043 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.003353/0.003353, allocations: 153.4 kB / 23.55 MB, free: 0.7305 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 1.609/1.609, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 3.061/3.061, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.025e-05/3.205e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003425/0.003457, allocations: 1.678 MB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002959/0.006416, allocations: 1.715 MB / 0.7897 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.252e-05/0.006488, allocations: 0.9062 kB / 0.7897 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005397/0.007028, allocations: 63.56 kB / 0.7898 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.007335, allocations: 104.1 kB / 0.7899 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.007533, allocations: 80.39 kB / 0.7899 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002821/0.007815, allocations: 179.5 kB / 0.7901 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.71e-05/0.007852, allocations: 5.625 kB / 0.7901 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.008013, allocations: 91.73 kB / 0.7902 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.008184, allocations: 59.86 kB / 0.7903 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.76e-05/0.008222, allocations: 12 kB / 0.7903 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002089/0.008431, allocations: 109.5 kB / 0.7904 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.926e-05/0.00853, allocations: 47.84 kB / 0.7904 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.086e-05/0.008611, allocations: 43.84 kB / 0.7905 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004449/0.009056, allocations: 259.1 kB / 0.7907 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.00906, allocations: 0 / 0.7907 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.403e-06/0.009061, allocations: 3.438 kB / 0.7907 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.009067, allocations: 4 kB / 0.7907 GB, free: 8.391 MB / 0.7448 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.0008421/0.009909, allocations: 0.5184 MB / 0.7912 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.00995, allocations: 8.031 kB / 0.7912 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.579e-05/0.01004, allocations: 20.84 kB / 0.7913 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.01042, allocations: 197.2 kB / 0.7914 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.01044, allocations: 4.375 kB / 0.7915 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.01046, allocations: 8.375 kB / 0.7915 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.01075, allocations: 143.9 kB / 0.7916 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.01076, allocations: 3.938 kB / 0.7916 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.01078, allocations: 4.594 kB / 0.7916 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.01079, allocations: 1.594 kB / 0.7916 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003222/0.01111, allocations: 163.8 kB / 0.7918 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002925/0.0114, allocations: 192.4 kB / 0.7919 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005358/0.01194, allocations: 174.9 kB / 0.7921 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.01205, allocations: 44.86 kB / 0.7922 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.01207, allocations: 8 kB / 0.7922 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002374/0.01231, allocations: 109 kB / 0.7923 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.01231, allocations: 0.6875 kB / 0.7923 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0005654/0.01288, allocations: 209.5 kB / 0.7925 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.657e-05/0.01295, allocations: 81.05 kB / 0.7925 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004246/0.01338, allocations: 293.6 kB / 0.7928 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.01341, allocations: 29.7 kB / 0.7929 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.01353, allocations: 168.4 kB / 0.793 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.648e-05/0.01361, allocations: 47.64 kB / 0.7931 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.525e-05/0.0137, allocations: 47.36 kB / 0.7931 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002906/0.01399, allocations: 0.5118 MB / 0.7936 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.01409, allocations: 40.55 kB / 0.7936 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.01424, allocations: 98.11 kB / 0.7937 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.01446, allocations: 107.4 kB / 0.7938 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01447, allocations: 0 / 0.7938 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003869/0.01485, allocations: 186.2 kB / 0.794 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.01487, allocations: 5.969 kB / 0.794 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.01488, allocations: 3.938 kB / 0.794 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.0149, allocations: 7.984 kB / 0.794 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.01504, allocations: 27.92 kB / 0.7941 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.01505, allocations: 0 / 0.7941 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.246e-05/0.01512, allocations: 16.42 kB / 0.7941 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.01514, allocations: 4 kB / 0.7941 GB, free: 4.711 MB / 0.7448 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.0001579/0.0153, allocations: 165.3 kB / 0.7942 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/0.01536, allocations: 29.09 kB / 0.7943 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005356/0.01589, allocations: 248.8 kB / 0.7945 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.0159, allocations: 3.938 kB / 0.7945 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.01591, allocations: 4.625 kB / 0.7945 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01591, allocations: 1.125 kB / 0.7945 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.01617, allocations: 208.5 kB / 0.7947 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.01617, allocations: 0 / 0.7947 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.01629, allocations: 28.77 kB / 0.7947 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.0163, allocations: 4 kB / 0.7947 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.01631, allocations: 4.688 kB / 0.7947 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.01632, allocations: 4 kB / 0.7948 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.01632, allocations: 4.438 kB / 0.7948 GB, free: 3.98 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004774/0.0168, allocations: 262 kB / 0.795 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.01684, allocations: 24.95 kB / 0.795 GB, free: 3.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.01688, allocations: 8 kB / 0.795 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.521e-05/0.01694, allocations: 8.906 kB / 0.795 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.968e-05/0.017, allocations: 15.91 kB / 0.7951 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.01703, allocations: 12 kB / 0.7951 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002162/0.01725, allocations: 212.9 kB / 0.7953 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01725, allocations: 0 / 0.7953 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002994/0.01755, allocations: 62.03 kB / 0.7953 GB, free: 3.371 MB / 0.7448 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.003358/0.02091, allocations: 0.5379 MB / 0.7959 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003211/0.02123, allocations: 124.7 kB / 0.796 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.02123, allocations: 0 / 0.796 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.02141, allocations: 87.97 kB / 0.7961 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.02173, allocations: 54.61 kB / 0.7961 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000769/0.0225, allocations: 330.6 kB / 0.7964 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.02264, allocations: 124 kB / 0.7965 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001216/0.02276, allocations: 45.42 kB / 0.7966 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.857e-05/0.02286, allocations: 36.48 kB / 0.7966 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of SimCode: time 8.61e-07/0.02286, allocations: 0 / 0.7966 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of Templates: time 0.009042/0.0319, allocations: 3.568 MB / 0.8001 GB, free: 14.72 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.647671010927297]