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_DerivativeCheck.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.001084/0.001084, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001469/0.002553, 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.00106/0.00106, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001276/0.002336, 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.9561/0.9561, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07875/1.035, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.774/1.774, allocations: 378.2 MB / 0.6076 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5294/2.303, allocations: 123.3 MB / 0.728 GB, free: 5.84 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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.7293 GB, free: 4.535 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.48e-05, allocations: 6.25 kB / 0.7294 GB, free: 4.527 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck): time 0.00263/0.002655, allocations: 1.378 MB / 0.7307 GB, free: 3.16 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008809/0.003536, allocations: 0.5997 MB / 0.7313 GB, free: 2.574 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.99e-05/0.003556, allocations: 2.406 kB / 0.7313 GB, free: 2.574 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.428e-06/0.003565, allocations: 3.938 kB / 0.7313 GB, free: 2.57 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.409e-05/0.003589, allocations: 1.75 kB / 0.7313 GB, free: 2.57 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003526/0.003942, allocations: 144.8 kB / 0.7314 GB, free: 2.438 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.148e-05/0.004004, allocations: 24.8 kB / 0.7315 GB, free: 2.418 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.528e-05/0.004039, allocations: 5.25 kB / 0.7315 GB, free: 2.414 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.29e-05/0.004102, allocations: 15.98 kB / 0.7315 GB, free: 2.398 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.318e-05/0.004145, allocations: 3.984 kB / 0.7315 GB, free: 2.395 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.004158, allocations: 7.938 kB / 0.7315 GB, free: 2.387 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003818/0.004539, allocations: 328.1 kB / 0.7318 GB, free: 2.066 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.004552, allocations: 4 kB / 0.7318 GB, free: 2.062 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.534e-05/0.004567, allocations: 4.531 kB / 0.7318 GB, free: 2.059 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.004752, allocations: 133.3 kB / 0.7319 GB, free: 1.93 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.272e-05/0.004765, allocations: 0 / 0.7319 GB, free: 1.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.062e-06/0.004766, allocations: 0 / 0.7319 GB, free: 1.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.004778, allocations: 0 / 0.7319 GB, free: 1.93 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003604/0.005139, allocations: 280.2 kB / 0.7322 GB, free: 1.629 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.00517, allocations: 8.844 kB / 0.7322 GB, free: 1.621 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.11e-05/0.005201, allocations: 8.922 kB / 0.7322 GB, free: 1.613 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.247e-05/0.005283, allocations: 106.5 kB / 0.7323 GB, free: 1.484 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.005296, allocations: 8.375 kB / 0.7323 GB, free: 1.477 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.005315, allocations: 1.906 kB / 0.7323 GB, free: 1.477 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.024e-05/0.005395, allocations: 59.95 kB / 0.7324 GB, free: 1.406 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-06/0.005401, allocations: 192 / 0.7324 GB, free: 1.406 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.005409, allocations: 8.359 kB / 0.7324 GB, free: 1.398 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.005412, allocations: 1.25 kB / 0.7324 GB, free: 1.398 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.616e-05/0.005439, allocations: 15.86 kB / 0.7324 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.798e-05/0.005527, allocations: 65.95 kB / 0.7325 GB, free: 1.305 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.00567, allocations: 38.59 kB / 0.7325 GB, free: 1.258 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.54e-05/0.005686, allocations: 10.61 kB / 0.7325 GB, free: 1.246 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.005705, allocations: 4 kB / 0.7325 GB, free: 1.242 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.005725, allocations: 34.56 kB / 0.7326 GB, free: 1.199 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 6.31e-07/0.005726, allocations: 0 / 0.7326 GB, free: 1.199 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0004715/0.006197, allocations: 234.7 kB / 0.7328 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.006232, allocations: 55.41 kB / 0.7328 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.871e-05/0.00628, allocations: 99.33 kB / 0.7329 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.006291, allocations: 33.7 kB / 0.733 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.014e-05/0.006312, allocations: 81.27 kB / 0.733 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.006338, allocations: 23.8 kB / 0.7331 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.006366, allocations: 21.7 kB / 0.7331 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.229e-05/0.006438, allocations: 319.5 kB / 0.7334 GB, free: 276 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.146e-05/0.00645, allocations: 4 kB / 0.7334 GB, free: 272 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.094e-05/0.006461, allocations: 8.531 kB / 0.7334 GB, free: 264 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.021e-05/0.006491, allocations: 21.78 kB / 0.7334 GB, free: 240 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.006492, allocations: 0 / 0.7334 GB, free: 240 kB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.373e-05/0.006546, allocations: 49.62 kB / 0.7335 GB, free: 184 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.006559, allocations: 8.578 kB / 0.7335 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.006563, allocations: 0.8125 kB / 0.7335 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/0.006571, allocations: 0 / 0.7335 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.596e-05/0.006617, allocations: 16.5 kB / 0.7335 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.00662, allocations: 0 / 0.7335 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.19e-05/0.006632, allocations: 5.156 kB / 0.7335 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.006638, allocations: 4 kB / 0.7335 GB, free: 152 kB / 0.698 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 (7): * Single equations (assignments): 7 * 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.051e-05/0.006688, allocations: 111.1 kB / 0.7336 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-06/0.006697, allocations: 11.98 kB / 0.7336 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.006801, allocations: 53.94 kB / 0.7337 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.006803, allocations: 4 kB / 0.7337 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.006807, allocations: 5.297 kB / 0.7337 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.00681, allocations: 0 / 0.7337 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.006989, allocations: 216.3 kB / 0.7339 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.006991, allocations: 0 / 0.7339 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.483e-05/0.007036, allocations: 13.38 kB / 0.7339 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.007046, allocations: 0 / 0.7339 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.00705, allocations: 7.984 kB / 0.7339 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.007056, allocations: 5.234 kB / 0.7339 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.007058, allocations: 3.938 kB / 0.7339 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.00706, allocations: 0 / 0.7339 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.007166, allocations: 161.7 kB / 0.7341 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.187e-06/0.007175, allocations: 4 kB / 0.7341 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.688e-05/0.007212, allocations: 7.938 kB / 0.7341 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.007226, allocations: 3.938 kB / 0.7341 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.007231, allocations: 5.25 kB / 0.7341 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.968e-06/0.007241, allocations: 8.844 kB / 0.7341 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007241, allocations: 0 / 0.7341 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001723/0.007413, allocations: 44.84 kB / 0.7341 GB, free: 15.43 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001669/0.00758, allocations: 131.2 kB / 0.7343 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.884e-05/0.007649, allocations: 38.36 kB / 0.7343 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.007653, allocations: 0 / 0.7343 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.258e-05/0.007665, allocations: 16.86 kB / 0.7343 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001121/0.007777, allocations: 7.984 kB / 0.7343 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007031/0.008481, allocations: 160.8 kB / 0.7345 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.215e-05/0.008513, allocations: 59.34 kB / 0.7345 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.474e-05/0.008537, allocations: 7.938 kB / 0.7345 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.009e-05/0.008578, allocations: 51.38 kB / 0.7346 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of SimCode: time 8.71e-07/0.008578, allocations: 2.875 kB / 0.7346 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of Templates: time 0.002546/0.01112, allocations: 1.097 MB / 0.7357 GB, free: 13.9 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.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.786029579117894]