Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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.001919/0.001919, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002949/0.002949, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.563/1.563, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 3.115/3.115, allocations: 377.8 MB / 0.6232 GB, free: 8.512 MB / 0.5886 GB " [Timeout remaining time 176] 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.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0.7656 kB / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.537e-05/3.784e-05, allocations: 7.234 kB / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.004714/0.004752, allocations: 1.316 MB / 0.8121 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0022/0.006952, allocations: 0.5765 MB / 0.8127 GB, free: 192 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.809e-05/0.00699, allocations: 0 / 0.8127 GB, free: 192 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.219e-05/0.007012, allocations: 0 / 0.8127 GB, free: 192 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.119e-05/0.007083, allocations: 3.984 kB / 0.8127 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.008188, allocations: 156.9 kB / 0.8128 GB, free: 32 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.008289, allocations: 23.91 kB / 0.8128 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.908e-05/0.008378, allocations: 12.64 kB / 0.8129 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.347e-05/0.008451, allocations: 15.88 kB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.008561, allocations: 17.22 kB / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.008587, allocations: 0 / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008508/0.009437, allocations: 267.4 kB / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.019e-05/0.009468, allocations: 10.14 kB / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.65e-05/0.009514, allocations: 11.98 kB / 0.8132 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005305/0.01004, allocations: 159.5 kB / 0.8133 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.01005, allocations: 0 / 0.8133 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.062e-06/0.01005, allocations: 0 / 0.8133 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.01005, allocations: 0 / 0.8133 GB, free: 15.53 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007999/0.01085, allocations: 396.8 kB / 0.8137 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.01092, allocations: 12.03 kB / 0.8137 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.392e-05/0.011, allocations: 17.48 kB / 0.8137 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.01119, allocations: 117.2 kB / 0.8138 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.01122, allocations: 4.375 kB / 0.8138 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.249e-05/0.01126, allocations: 9.844 kB / 0.8138 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/0.01153, allocations: 93.66 kB / 0.8139 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.01155, allocations: 4.188 kB / 0.8139 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.01157, allocations: 384 / 0.8139 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.01157, allocations: 1.906 kB / 0.8139 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.01168, allocations: 23.92 kB / 0.814 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003117/0.01199, allocations: 124.6 kB / 0.8141 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.0122, allocations: 66.97 kB / 0.8141 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.01231, allocations: 29.48 kB / 0.8142 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/0.01235, allocations: 0 / 0.8142 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.579e-05/0.01241, allocations: 37.39 kB / 0.8142 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.01241, allocations: 0 / 0.8142 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.002224/0.01464, allocations: 483.3 kB / 0.8147 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.502e-05/0.01471, allocations: 51.41 kB / 0.8147 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.01491, allocations: 153.9 kB / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.251e-05/0.01496, allocations: 30.23 kB / 0.8149 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.01508, allocations: 134.7 kB / 0.815 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.433e-05/0.01517, allocations: 44.2 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.01527, allocations: 35.89 kB / 0.8151 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0004152/0.01569, allocations: 496.1 kB / 0.8156 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.01579, allocations: 24.8 kB / 0.8156 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.98e-05/0.01588, allocations: 23.98 kB / 0.8156 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.01609, allocations: 56.56 kB / 0.8157 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.0161, allocations: 0 / 0.8157 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003306/0.01643, allocations: 99.72 kB / 0.8158 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.01645, allocations: 7.984 kB / 0.8158 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.01646, allocations: 1.375 kB / 0.8158 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/0.01649, allocations: 3.938 kB / 0.8158 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.0167, allocations: 23.94 kB / 0.8158 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.01671, allocations: 1.281 kB / 0.8158 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.534e-05/0.01675, allocations: 0 / 0.8158 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.01678, allocations: 11.98 kB / 0.8158 GB, free: 12.7 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0002018/0.01698, allocations: 161.5 kB / 0.816 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.01702, allocations: 7.953 kB / 0.816 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003938/0.01741, allocations: 106.5 kB / 0.8161 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.01742, allocations: 3.938 kB / 0.8161 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.01742, allocations: 0 / 0.8161 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/0.01744, allocations: 9.328 kB / 0.8161 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000816/0.01825, allocations: 357.6 kB / 0.8164 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.01826, allocations: 0 / 0.8164 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.01849, allocations: 24.45 kB / 0.8165 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/0.0185, allocations: 3.938 kB / 0.8165 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.01852, allocations: 4.656 kB / 0.8165 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.01852, allocations: 1.781 kB / 0.8165 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01852, allocations: 0 / 0.8165 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005774/0.0191, allocations: 263.9 kB / 0.8167 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.966e-05/0.01912, allocations: 7.984 kB / 0.8167 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.01915, allocations: 7.938 kB / 0.8167 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.01929, allocations: 0.875 kB / 0.8167 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.01934, allocations: 11.92 kB / 0.8167 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.01936, allocations: 15.41 kB / 0.8168 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003889/0.01975, allocations: 119.2 kB / 0.8169 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.51e-07/0.01975, allocations: 0 / 0.8169 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00052/0.02027, allocations: 35.88 kB / 0.8169 GB, free: 11.52 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0004036/0.02067, allocations: 131.1 kB / 0.817 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003139/0.02099, allocations: 75.59 kB / 0.8171 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.02099, allocations: 0 / 0.8171 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.02112, allocations: 40.23 kB / 0.8171 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.02152, allocations: 10.94 kB / 0.8172 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.02253, allocations: 255.8 kB / 0.8174 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/0.02267, allocations: 71.2 kB / 0.8175 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.909e-05/0.02276, allocations: 19.92 kB / 0.8175 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.049e-05/0.02281, allocations: 12.5 kB / 0.8175 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of SimCode: time 1.102e-06/0.02281, allocations: 0 / 0.8175 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of Templates: time 0.007097/0.0299, allocations: 0.9555 MB / 0.8184 GB, free: 9.965 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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.27064404299017]