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.001024/0.001024, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001445/0.002469, 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.0009851/0.0009851, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001299/0.002284, 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.9495/0.9495, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08829/1.038, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.864/1.864, allocations: 378.3 MB / 0.6079 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5223/2.386, allocations: 123.3 MB / 0.7283 GB, free: 5.723 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 1.382e-06/1.382e-06, allocations: 0 / 0.7297 GB, free: 4.375 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.242e-05, allocations: 4.562 kB / 0.7297 GB, free: 4.371 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2): time 0.002362/0.002385, allocations: 1.391 MB / 0.731 GB, free: 2.996 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008711/0.003256, allocations: 0.604 MB / 0.7316 GB, free: 2.406 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.164e-05/0.003277, allocations: 0 / 0.7316 GB, free: 2.406 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.05e-05/0.003288, allocations: 5.172 kB / 0.7316 GB, free: 2.402 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.985e-05/0.003318, allocations: 9.781 kB / 0.7316 GB, free: 2.395 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000426/0.003744, allocations: 150.3 kB / 0.7318 GB, free: 2.258 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.537e-05/0.003819, allocations: 32.17 kB / 0.7318 GB, free: 2.23 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.131e-05/0.00386, allocations: 4.906 kB / 0.7318 GB, free: 2.227 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.985e-05/0.00392, allocations: 19.97 kB / 0.7318 GB, free: 2.207 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.008e-05/0.00399, allocations: 12.73 kB / 0.7319 GB, free: 2.195 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.004005, allocations: 4 kB / 0.7319 GB, free: 2.191 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004834/0.004488, allocations: 328.7 kB / 0.7322 GB, free: 1.871 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.814e-05/0.004516, allocations: 4 kB / 0.7322 GB, free: 1.867 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.004539, allocations: 11.94 kB / 0.7322 GB, free: 1.855 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.004793, allocations: 135.6 kB / 0.7323 GB, free: 1.723 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.474e-05/0.004808, allocations: 0.5312 kB / 0.7323 GB, free: 1.723 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.182e-06/0.004809, allocations: 0 / 0.7323 GB, free: 1.723 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.383e-05/0.004823, allocations: 1.25 kB / 0.7323 GB, free: 1.723 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.0004158/0.005239, allocations: 284.3 kB / 0.7326 GB, free: 1.418 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.005277, allocations: 12.03 kB / 0.7326 GB, free: 1.406 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.005315, allocations: 6.203 kB / 0.7326 GB, free: 1.402 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.472e-05/0.00541, allocations: 113.7 kB / 0.7327 GB, free: 1.266 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.005422, allocations: 4.375 kB / 0.7327 GB, free: 1.262 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.005454, allocations: 8.828 kB / 0.7327 GB, free: 1.254 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.005568, allocations: 103.4 kB / 0.7328 GB, free: 1.137 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.005578, allocations: 4.172 kB / 0.7328 GB, free: 1.133 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.005586, allocations: 384 / 0.7328 GB, free: 1.133 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.005592, allocations: 384 / 0.7328 GB, free: 1.133 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.321e-05/0.005625, allocations: 19.88 kB / 0.7329 GB, free: 1.113 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001101/0.005735, allocations: 66.64 kB / 0.7329 GB, free: 1.035 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.134e-05/0.005826, allocations: 46.62 kB / 0.733 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.761e-05/0.005854, allocations: 24.84 kB / 0.733 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.005872, allocations: 0.6562 kB / 0.733 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.005898, allocations: 38.55 kB / 0.733 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.005899, allocations: 1.312 kB / 0.733 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0009896/0.006889, allocations: 443 kB / 0.7334 GB, free: 432 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.006917, allocations: 51.41 kB / 0.7335 GB, free: 368 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.379e-05/0.006981, allocations: 106.6 kB / 0.7336 GB, free: 248 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.006996, allocations: 30.36 kB / 0.7336 GB, free: 212 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.595e-05/0.007022, allocations: 84.14 kB / 0.7337 GB, free: 124 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/0.007062, allocations: 40.77 kB / 0.7337 GB, free: 84 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.007104, allocations: 29.69 kB / 0.7338 GB, free: 48 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.007205, allocations: 314.8 kB / 0.7341 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.346e-05/0.007229, allocations: 16.95 kB / 0.7341 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.073e-05/0.007249, allocations: 12 kB / 0.7341 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.855e-05/0.007308, allocations: 36.77 kB / 0.7341 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.007309, allocations: 1.25 kB / 0.7341 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001022/0.007411, allocations: 69.67 kB / 0.7342 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.007425, allocations: 4 kB / 0.7342 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.00743, allocations: 0.75 kB / 0.7342 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.007444, allocations: 0 / 0.7342 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.183e-05/0.007536, allocations: 24.52 kB / 0.7342 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.007541, allocations: 8.781 kB / 0.7342 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.00756, allocations: 3.938 kB / 0.7342 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.007566, allocations: 1.094 kB / 0.7342 GB, free: 15.55 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 6.411e-05/0.00763, allocations: 113.8 kB / 0.7344 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.676e-05/0.007647, allocations: 8 kB / 0.7344 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001324/0.007779, allocations: 78.94 kB / 0.7344 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.007783, allocations: 4 kB / 0.7344 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.007785, allocations: 0 / 0.7344 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.00779, allocations: 4.625 kB / 0.7344 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.008047, allocations: 230.9 kB / 0.7347 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.008048, allocations: 0.75 kB / 0.7347 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.656e-05/0.008145, allocations: 23.98 kB / 0.7347 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-06/0.008153, allocations: 4.703 kB / 0.7347 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.008158, allocations: 4 kB / 0.7347 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.008167, allocations: 10.06 kB / 0.7347 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.008169, allocations: 0 / 0.7347 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.008172, allocations: 7.875 kB / 0.7347 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.008338, allocations: 172.4 kB / 0.7349 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.008351, allocations: 3.984 kB / 0.7349 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.813e-05/0.008419, allocations: 5.344 kB / 0.7349 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.999e-05/0.008439, allocations: 11.92 kB / 0.7349 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.008449, allocations: 8 kB / 0.7349 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.2e-05/0.008461, allocations: 6.109 kB / 0.7349 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.008461, allocations: 0 / 0.7349 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002936/0.008754, allocations: 63.73 kB / 0.735 GB, free: 14.75 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.0002869/0.009041, allocations: 165.6 kB / 0.7351 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.009146, allocations: 47.28 kB / 0.7352 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/0.009156, allocations: 8 kB / 0.7352 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.36e-05/0.009199, allocations: 36.03 kB / 0.7352 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.009363, allocations: 12 kB / 0.7352 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.01046, allocations: 176.3 kB / 0.7354 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.549e-05/0.01051, allocations: 67.31 kB / 0.7355 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.405e-05/0.01055, allocations: 7.938 kB / 0.7355 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.531e-05/0.01062, allocations: 67.34 kB / 0.7355 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of SimCode: time 8.71e-07/0.01062, allocations: 4 kB / 0.7355 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of Templates: time 0.004027/0.01465, allocations: 1.591 MB / 0.7371 GB, free: 12.66 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.89267660304904]