Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_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.0007123/0.0007123, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009726/0.001685, allocations: 449.7 kB / 10.37 MB, free: 328 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.001045/0.001045, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001264/0.002308, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.8934/0.8934, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08143/0.9748, allocations: 53.64 MB / 243.2 MB, free: 15.6 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.819/1.819, allocations: 378.2 MB / 0.6076 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4776/2.297, allocations: 123.3 MB / 0.728 GB, free: 5.828 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.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der_m_flow|der_m_flow_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der_m_flow|der_m_flow_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 0.7293 GB, free: 4.516 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.865e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.512 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2): time 0.001727/0.001755, allocations: 1.393 MB / 0.7307 GB, free: 3.133 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006135/0.002369, allocations: 0.6083 MB / 0.7313 GB, free: 2.539 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.898e-05/0.002388, allocations: 0 / 0.7313 GB, free: 2.539 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.704e-06/0.002395, allocations: 0 / 0.7313 GB, free: 2.539 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.01e-05/0.002415, allocations: 4.422 kB / 0.7313 GB, free: 2.539 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.002719, allocations: 157.3 kB / 0.7315 GB, free: 2.395 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.019e-05/0.002779, allocations: 34.69 kB / 0.7315 GB, free: 2.363 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.647e-05/0.002815, allocations: 4.5 kB / 0.7315 GB, free: 2.359 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.126e-05/0.002867, allocations: 15.92 kB / 0.7315 GB, free: 2.344 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.526e-05/0.002922, allocations: 13.42 kB / 0.7315 GB, free: 2.332 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.002933, allocations: 4 kB / 0.7315 GB, free: 2.328 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003209/0.003254, allocations: 323.4 kB / 0.7318 GB, free: 2.012 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.003266, allocations: 8.594 kB / 0.7318 GB, free: 2.004 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.474e-05/0.00328, allocations: 11.94 kB / 0.7319 GB, free: 1.992 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.003456, allocations: 128.3 kB / 0.732 GB, free: 1.867 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.3e-05/0.003469, allocations: 0 / 0.732 GB, free: 1.867 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.51e-07/0.00347, allocations: 1.719 kB / 0.732 GB, free: 1.867 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.003482, allocations: 7.938 kB / 0.732 GB, free: 1.859 MB / 0.698 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.00033/0.003813, allocations: 288.3 kB / 0.7323 GB, free: 1.551 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.83e-05/0.003841, allocations: 8.031 kB / 0.7323 GB, free: 1.543 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.555e-05/0.003866, allocations: 5.75 kB / 0.7323 GB, free: 1.539 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.931e-05/0.003936, allocations: 117.7 kB / 0.7324 GB, free: 1.398 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.003944, allocations: 0.875 kB / 0.7324 GB, free: 1.398 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.003967, allocations: 12.33 kB / 0.7324 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.694e-05/0.004054, allocations: 94.2 kB / 0.7325 GB, free: 1.277 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.004062, allocations: 1.406 kB / 0.7325 GB, free: 1.277 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.004071, allocations: 12.38 kB / 0.7325 GB, free: 1.266 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.004075, allocations: 384 / 0.7325 GB, free: 1.266 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.984e-05/0.004105, allocations: 16.8 kB / 0.7325 GB, free: 1.25 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.436e-05/0.004189, allocations: 65.03 kB / 0.7326 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.644e-05/0.004266, allocations: 47.12 kB / 0.7326 GB, free: 1.117 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.039e-05/0.004286, allocations: 21.77 kB / 0.7326 GB, free: 1.094 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.004306, allocations: 4 kB / 0.7327 GB, free: 1.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.004329, allocations: 40.3 kB / 0.7327 GB, free: 1.043 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.00433, allocations: 0 / 0.7327 GB, free: 1.043 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0007831/0.005113, allocations: 437.5 kB / 0.7331 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.005144, allocations: 56.53 kB / 0.7332 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.397e-05/0.005198, allocations: 98.66 kB / 0.7333 GB, free: 396 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.005212, allocations: 34.42 kB / 0.7333 GB, free: 356 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.127e-05/0.005234, allocations: 80.14 kB / 0.7334 GB, free: 272 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.005271, allocations: 44.16 kB / 0.7334 GB, free: 228 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.005304, allocations: 25.7 kB / 0.7334 GB, free: 196 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.673e-05/0.0054, allocations: 319.8 kB / 0.7337 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.298e-05/0.005413, allocations: 8 kB / 0.7337 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.766e-05/0.005431, allocations: 19.23 kB / 0.7338 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.223e-05/0.005473, allocations: 32.83 kB / 0.7338 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.005474, allocations: 4.875 kB / 0.7338 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 7.234e-05/0.005546, allocations: 77.53 kB / 0.7339 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.00556, allocations: 5.219 kB / 0.7339 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.005565, allocations: 0 / 0.7339 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.005575, allocations: 4 kB / 0.7339 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.931e-05/0.005655, allocations: 25.58 kB / 0.7339 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.005659, allocations: 3.938 kB / 0.7339 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.264e-05/0.005672, allocations: 0 / 0.7339 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.005678, allocations: 8 kB / 0.7339 GB, free: 15.68 MB / 0.7136 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 5.522e-05/0.005734, allocations: 110.8 kB / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.005745, allocations: 11.98 kB / 0.734 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.005853, allocations: 74.95 kB / 0.7341 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.005854, allocations: 0 / 0.7341 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.005856, allocations: 0 / 0.7341 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.005864, allocations: 7.922 kB / 0.7341 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.006081, allocations: 227.3 kB / 0.7343 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.006083, allocations: 1.156 kB / 0.7343 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.563e-05/0.006159, allocations: 20 kB / 0.7343 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-06/0.006168, allocations: 11.94 kB / 0.7344 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.00617, allocations: 0.9375 kB / 0.7344 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.006178, allocations: 7.938 kB / 0.7344 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.006179, allocations: 0 / 0.7344 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.006181, allocations: 5.25 kB / 0.7344 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.006315, allocations: 179.4 kB / 0.7345 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.006328, allocations: 4 kB / 0.7345 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.85e-05/0.006366, allocations: 1.031 kB / 0.7345 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.849e-05/0.006385, allocations: 15.92 kB / 0.7346 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.00639, allocations: 0.5625 kB / 0.7346 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.456e-05/0.006404, allocations: 10.61 kB / 0.7346 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.1e-08/0.006404, allocations: 0 / 0.7346 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001833/0.006588, allocations: 59.73 kB / 0.7346 GB, free: 14.89 MB / 0.7136 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.0002032/0.006791, allocations: 165.1 kB / 0.7348 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.938e-05/0.00688, allocations: 48.77 kB / 0.7348 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.006888, allocations: 4 kB / 0.7348 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.328e-05/0.006912, allocations: 31.53 kB / 0.7349 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001206/0.007032, allocations: 12 kB / 0.7349 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008526/0.007885, allocations: 183.5 kB / 0.7351 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.491e-05/0.00792, allocations: 60.53 kB / 0.7351 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.292e-05/0.007963, allocations: 16.02 kB / 0.7351 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.112e-05/0.008014, allocations: 59.38 kB / 0.7352 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of SimCode: time 1.082e-06/0.008015, allocations: 0.75 kB / 0.7352 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of Templates: time 0.003037/0.01105, allocations: 1.585 MB / 0.7367 GB, free: 12.82 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.622856298461556]